Skip to content

Commit

Permalink
Merge branch 'main' into typogrify-omit-filters-gh3436
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmayer authored Jan 14, 2025
2 parents 82dd2e8 + fa0af6d commit 511fb06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions pelican/tests/test_readers.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,13 +495,12 @@ def test_typogrify_ignore_filters(self):

def test_typogrify_ignore_tags(self):
try:
# typogrify should be able to ignore user specified tags,
# but tries to be clever with widont extension
# typogrify should be able to ignore user specified tags.
page = self.read_file(
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
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies = [
"feedgenerator>=2.1.0",
"jinja2>=3.1.2",
"ordered-set>=4.1.0",
"pygments>=2.16.1",
"pygments>=2.16.1,<2.19.0",
"python-dateutil>=2.8.2",
"rich>=13.6.0",
"unidecode>=1.3.7",
Expand Down Expand Up @@ -82,13 +82,13 @@ dev = [
"jinja2>=3.1.2",
"lxml>=4.9.3",
"markdown>=3.5.1",
"typogrify>=2.0.7",
"typogrify>=2.1.0",
"sphinx>=7.1.2",
"sphinxext-opengraph>=0.9.0",
"furo==2023.9.10",
"livereload>=2.6.3",
"psutil>=5.9.6",
"pygments>=2.16.1",
"pygments>=2.16.1,<2.19.0",
"pytest>=7.4.3",
"pytest-cov>=4.1.0",
"pytest-sugar>=0.9.7",
Expand Down

0 comments on commit 511fb06

Please sign in to comment.