Skip to content

Commit ff0133b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 79371b4 commit ff0133b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_renderers/test_fixtures_sphinx.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ def _apply_transforms(self):
3838
# changed in docutils 0.20.1
3939
'<literal classes="code" language="">': '<literal classes="code">',
4040
# changed in sphinx 9
41-
'<image alt="" uri="">': "<image alt=\"\" candidates=\"{'*': '.'}\" original_uri=\"\" uri=\".\">",
42-
'<image alt="alt" title="title" uri="src">': "<image alt=\"alt\" candidates=\"{'*': 'src'}\" title=\"title\" uri=\"src\">",
43-
'<image alt="alt" uri=\"http://www.google%3C%3E.com\">': "<image alt=\"alt\" candidates=\"{'?': 'http://www.google%3C%3E.com'}\" uri=\"http://www.google%3C%3E.com\">",
41+
'<image alt="" uri="">': '<image alt="" candidates="{\'*\': \'.\'}" original_uri="" uri=".">',
42+
'<image alt="alt" title="title" uri="src">': '<image alt="alt" candidates="{\'*\': \'src\'}" title="title" uri="src">',
43+
'<image alt="alt" uri="http://www.google%3C%3E.com">': '<image alt="alt" candidates="{\'?\': \'http://www.google%3C%3E.com\'}" uri="http://www.google%3C%3E.com">',
4444
}
4545
for old, new in replacements.items():
4646
pformat = pformat.replace(old, new)

0 commit comments

Comments
 (0)