Skip to content

Commit

Permalink
Adjust test following changes in Typogrify.
Browse files Browse the repository at this point in the history
Typogrify's 'widont' filter used to ignore the list of 'ignore_tags', but this got fixed in Typogrify.
  • Loading branch information
davidlesieur committed Dec 27, 2024
1 parent a17521b commit 13641d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pelican/tests/test_readers.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def test_typogrify_ignore_tags(self):
path="article.rst", TYPOGRIFY=True, TYPOGRIFY_IGNORE_TAGS=["p"]
)
expected = (
"<p>THIS is some content. With some stuff to&nbsp;"
"<p>THIS is some content. With some stuff to "
"&quot;typogrify&quot;...</p>\n<p>Now with added "
'support for <abbr title="three letter acronym">'
"TLA</abbr>.</p>\n"
Expand Down

0 comments on commit 13641d5

Please sign in to comment.