Escaping # in URL when generating PDF

jonathan.x.jackson's Avatar

jonathan.x.jackson

19 Dec, 2019 12:40 PM

I am using Marked v 2.5.35.

I have a URL in my markdown doc like this which has a # symbol in it:-
repoHost/repo/path/Some.java#lines-139:142

I am using the Discount processor and the Github style and generating a PDF.
The # symbol gets replaced by the escape code %23 which breaks the link.

Any ideas on how to avoid this escaping of the # char in my generated PDF?

  1. Support Staff 1 Posted by Brett on 19 Dec, 2019 08:58 PM

    Brett's Avatar

    I'm not seeing any similar escaping occurring. Does this happen in the
    preview? Can you provide sample documents showing the issue?

    -Brett

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac