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 e93718d commit b5cc63aCopy full SHA for b5cc63a
core/htmlhelper.py
@@ -1,4 +1,5 @@
1
import re
2
+from html import unescape
3
4
from bs4 import BeautifulSoup, Comment, Tag
5
from django.template.loader import render_to_string
@@ -259,6 +260,7 @@ def slightly_modernize_legacy_library_doc_page(content):
259
260
el.getparent().remove(el)
261
262
content = html.tostring(root, encoding="unicode", method="html")
263
+ content = unescape(content) # avoid escaping special characters like ń
264
return content.replace("https://www.boost.org/doc/libs/", "/doc/libs/")
265
266
0 commit comments