I have a rather large project and it contains some JavaScript files that I'm referencing. However, if I create a folder within my HTML pages, whenever I view the source during debug the script tag references the source as if the page is not included in a folder. For example, assuming that I have the following directory:
.project
..index.html
..sub-folder
...sub-index.html
..js
...my-javascript.js
The auto-generated code for the script tag of the sub-folder/sub-index.html file is:
<script src="/js/my-javascript.js"></script>
When instead it should include the ../ to reference the parent directory as such:
<script src="../js/my-javascript.js"></script>