Add a test for absolute image filenames.

This commit is contained in:
Georg Brandl 2010-05-30 12:47:17 +02:00
parent 57c438be4f
commit 3bd9e4617e
2 changed files with 4 additions and 0 deletions

View File

@ -10,3 +10,6 @@ Including in subdir
:lines: 2
Absolute :download:`/img.png` download.
.. absolute image filename
.. image:: /img.png

View File

@ -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ß',