summaryrefslogtreecommitdiff
path: root/sphinx/builders/changes.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/builders/changes.py')
-rw-r--r--sphinx/builders/changes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/builders/changes.py b/sphinx/builders/changes.py
index fc8532794..1dc22f4ae 100644
--- a/sphinx/builders/changes.py
+++ b/sphinx/builders/changes.py
@@ -122,6 +122,7 @@ class ChangesBuilder(Builder):
'.. deprecated:: %s' % version]
def hl(no, line):
+ # type: (int, unicode) -> unicode
line = '<a name="L%s"> </a>' % no + htmlescape(line)
for x in hltext:
if x in line: