diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2020-10-17 13:14:44 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2020-10-17 13:14:44 +0200 |
commit | 264f90376927fa370536f3b3e9f393d148b28ed3 (patch) | |
tree | 401287b5112bcb77f7f30c2a3b28898e510b11c9 | |
parent | 0486a77f648db295e0223229c2c1c6afbeffbc1b (diff) | |
download | python-lxml-264f90376927fa370536f3b3e9f393d148b28ed3.tar.gz |
Fix PDF building.
-rw-r--r-- | doc/mklatex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/mklatex.py b/doc/mklatex.py index cf726ba1..2bb73b7c 100644 --- a/doc/mklatex.py +++ b/doc/mklatex.py @@ -220,7 +220,7 @@ def publish(dirname, lxml_path, release): if r'\href' not in line: return line line = replace_interdoc_hyperrefs(build_hyperref, line) - return replace_docinternal_hyperrefs(r'\hyperref[\1]', line) + return replace_docinternal_hyperrefs(r'\\hyperref[\1]', line) # Building pages for section, text_files in SITE_STRUCTURE: |