diff options
-rw-r--r-- | sphinx/builders/htmlhelp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builders/htmlhelp.py b/sphinx/builders/htmlhelp.py index 8948a6614..6a4ce77d7 100644 --- a/sphinx/builders/htmlhelp.py +++ b/sphinx/builders/htmlhelp.py @@ -185,7 +185,7 @@ def chm_htmlescape(*args, **kwargs): return '&#%d;' % codepoint return re.sub(r'&#[xX]([0-9a-fA-F]+);', convert, - htmlescape(*args, **kwargs)) + html.escape(*args, **kwargs)) class HTMLHelpBuilder(StandaloneHTMLBuilder): |