diff --git a/tests/root/subdir/includes.txt b/tests/root/subdir/includes.txt index 3e1ae0d13..53a6bd29a 100644 --- a/tests/root/subdir/includes.txt +++ b/tests/root/subdir/includes.txt @@ -10,3 +10,6 @@ Including in subdir :lines: 2 Absolute :download:`/img.png` download. + +.. absolute image filename +.. image:: /img.png diff --git a/tests/test_build_html.py b/tests/test_build_html.py index 4082cabfe..93a015daf 100644 --- a/tests/test_build_html.py +++ b/tests/test_build_html.py @@ -61,6 +61,7 @@ HTML_XPATH = { }, 'subdir/includes.html': { ".//a[@href='../_downloads/img.png']": '', + ".//img[@src='../_images/img.png']": '', }, 'includes.html': { ".//pre": u'Max Strauß',