Skip to content

Commit

Permalink
setup.py: Upgrade to markupsafe==3.0.2 (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Nov 14, 2024
1 parent c433c80 commit 16ba3f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
"Jinja2>2.0",
"parsimonious>=0.10.0,<0.11.0",
"Sphinx>=4.1.0",
# Pin markupsafe because of
# https://github.com/pallets/jinja/issues/1585
"markupsafe==2.0.1",
"markupsafe==3.0.2",
"attrs",
"cattrs",
],
Expand Down
10 changes: 7 additions & 3 deletions sphinx_js/directives.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
from sphinx.locale import _
from sphinx.util.docfields import GroupedField, TypedField
from sphinx.writers.html5 import HTML5Translator
from sphinx.writers.text import TextTranslator
from sphinx.writers.latex import LaTeXTranslator
from sphinx.writers.text import TextTranslator

from .renderers import (
AutoAttributeRenderer,
Expand Down Expand Up @@ -328,11 +328,15 @@ def text_depart_desc_js_type_parameter_list(
self.add_text(">")


def latex_visit_desc_type_parameter_list(self: LaTeXTranslator, node: nodes.Element) -> None:
def latex_visit_desc_type_parameter_list(
self: LaTeXTranslator, node: nodes.Element
) -> None:
pass


def latex_depart_desc_type_parameter_list(self: LaTeXTranslator, node: nodes.Element) -> None:
def latex_depart_desc_type_parameter_list(
self: LaTeXTranslator, node: nodes.Element
) -> None:
pass


Expand Down

0 comments on commit 16ba3f6

Please sign in to comment.