mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Adapt test to removal of <object> tags for SVG images.
This commit is contained in:
@@ -74,8 +74,7 @@ HTML_XPATH = {
|
||||
(".//img[@src='_images/img.png']", ''),
|
||||
(".//img[@src='_images/img1.png']", ''),
|
||||
(".//img[@src='_images/simg.png']", ''),
|
||||
(".//object[@data='_images/svgimg.svg']", ''),
|
||||
(".//embed[@src='_images/svgimg.svg']", ''),
|
||||
(".//img[@src='_images/svgimg.svg']", ''),
|
||||
],
|
||||
'subdir/images.html': [
|
||||
(".//img[@src='../_images/img1.png']", ''),
|
||||
|
||||
Reference in New Issue
Block a user