fix: ensure includes are pulled in relative to their parent
This commit is contained in:
parent
0f65e57539
commit
02c10aaa72
8 changed files with 9 additions and 8 deletions
9
tests/www/includes/index.html
Normal file
9
tests/www/includes/index.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<html>
|
||||
<body>
|
||||
<p>Hello. An include should follow:</p>
|
||||
|
||||
<!-- #include file="./test_include.html" -->
|
||||
<!-- #include file="./yet_another_include.html" -->
|
||||
<p>Goodbye. The includes should be above.</p>
|
||||
</body>
|
||||
</html>
|
1
tests/www/includes/subdir/another_include.html
Normal file
1
tests/www/includes/subdir/another_include.html
Normal file
|
@ -0,0 +1 @@
|
|||
<div>Include #2!</div>
|
3
tests/www/includes/test_include.html
Normal file
3
tests/www/includes/test_include.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<div>Include #1</div>
|
||||
|
||||
<!-- #include file="./subdir/another_include.html" -->
|
1
tests/www/includes/yet_another_include.html
Normal file
1
tests/www/includes/yet_another_include.html
Normal file
|
@ -0,0 +1 @@
|
|||
<div>Include #3</div>
|
Loading…
Add table
Add a link
Reference in a new issue