Commits

Georg Brandl  committed 432ee1b

Add a test for absolute image filenames.

  • Participants
  • Parent commits fbf7f5e

Comments (0)

Files changed (2)

File tests/root/subdir/includes.txt

    :lines: 2
 
 Absolute :download:`/img.png` download.
+
+.. absolute image filename
+.. image:: /img.png

File tests/test_build_html.py

     },
     'subdir/includes.html': {
         ".//a[@href='../_downloads/img.png']": '',
+        ".//img[@src='../_images/img.png']": '',
     },
     'includes.html': {
         ".//pre": u'Max Strauß',