mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add a test for absolute image filenames.
This commit is contained in:
parent
57c438be4f
commit
3bd9e4617e
@ -10,3 +10,6 @@ Including in subdir
|
||||
:lines: 2
|
||||
|
||||
Absolute :download:`/img.png` download.
|
||||
|
||||
.. absolute image filename
|
||||
.. image:: /img.png
|
||||
|
@ -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ß',
|
||||
|
Loading…
Reference in New Issue
Block a user