LaTeX writer: URLs are not escaped #2377
adunning
commented
adunning
commented
If I'm understanding the code correctly, am I correct in thinking that the fix for this is as simple as adding not isUrl
to https://github.com/jgm/pandoc/blob/master/src/Text/Pandoc/Writers/LaTeX.hs#L239?
adunning
commented
It looks as if it's the list of 'unwise' characters that are not handled within a URL. The question, then, might be whether it would be best to escape these characters in all outputs (which has come up before in #1640).
jgm
closed this
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Under pandoc 1.15.0.6, some unusual but valid characters in URLs are not escaped by the LaTeX writer. For instance, this produces a broken link:
It appears in the PDF as
http://www.digizeitschriften.de/dms/resolveppn/?PID=PPN345858530_0013\T1\textbar{}log48
.Thread: https://groups.google.com/forum/#!msg/pandoc-discuss/E489etyaKgI/cUFuyicXCAAJ (as far as I can tell, no issue was generated from this).