We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6508bbb commit 3523f46Copy full SHA for 3523f46
src/sphinxcontrib/email/utils.py
@@ -30,7 +30,7 @@ def rot_13_encrypt(self, line: str) -> str:
30
def xml_to_unesc_string(self, node: ET.Element) -> str:
31
"""Return unescaped xml string"""
32
text = xml.sax.saxutils.unescape(
33
- ET.tostring(node, encoding="unicode", method="xml"),
+ ET.tostring(node, encoding="unicode", method="html"),
34
{"'": "'", """: '"'},
35
)
36
return text
0 commit comments