summaryrefslogtreecommitdiff
path: root/sphinx/builders/htmlhelp.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-24 00:54:06 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-24 00:54:06 +0900
commit3acac58e5772cb5ed35688302a13f6e51b46482b (patch)
tree4be14e0611262af49528399acc456c808f0eeba6 /sphinx/builders/htmlhelp.py
parent470208668112ac009fac485151f03361e3c98a6a (diff)
downloadsphinx-git-3acac58e5772cb5ed35688302a13f6e51b46482b.tar.gz
Fix typo
Diffstat (limited to 'sphinx/builders/htmlhelp.py')
-rw-r--r--sphinx/builders/htmlhelp.py2
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):