Skip to content

Commit

Permalink
Update required Typogrify version for 'TYPOGRIFY_OMIT_FILTERS' setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlesieur committed Jan 7, 2025
1 parent da798d1 commit 82dd2e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ Basic settings
A list of Typogrify filters to skip. Allowed values are: ``'amp'``,
``'smartypants'``, ``'caps'``, ``'initial_quotes'``, ``'widont'``. By
default, no filter is omitted (in other words, all filters get applied). This
setting requires that Typogrify version 2.0.8 or later is installed.
setting requires that Typogrify version 2.1.0 or later is installed.

.. data:: TYPOGRIFY_DASHES = 'default'

Expand Down
2 changes: 1 addition & 1 deletion pelican/tests/test_readers.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def test_typogrify_ignore_filters(self):
except ImportError:
return unittest.skip("need the typogrify distribution")
except TypeError:
return unittest.skip("need typogrify version 2.0.8 or later")
return unittest.skip("need typogrify version 2.1.0 or later")

def test_typogrify_ignore_tags(self):
try:
Expand Down

0 comments on commit 82dd2e8

Please sign in to comment.