X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/d70acaef01c7e1501d06fda7b0e3f05de021427d..62043b2bafbcb57beae7559235bd6984b6275b55:/paperdoorknob.py?ds=inline diff --git a/paperdoorknob.py b/paperdoorknob.py index 0fd1fde..72ec1a5 100644 --- a/paperdoorknob.py +++ b/paperdoorknob.py @@ -35,7 +35,7 @@ def process(spec: Spec) -> None: spec.geometry.encode('UTF-8') + b']{geometry}\n') spec.texout.write(b'''\\begin{document} -\\newcommand{\\href}[2]{#2\\footnote{#1}} +\\newcommand{\\href}[2]{#2\\footnote{\\detokenize{#1}}} ''') url = flatURL(spec.url) spec.log('Fetching HTML...\r')