Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

links are html escaped but should not be #448

Closed
handcraftsman opened this issue May 22, 2016 · 2 comments
Closed

links are html escaped but should not be #448

handcraftsman opened this issue May 22, 2016 · 2 comments
Assignees

Comments

@handcraftsman
Copy link

The link

https://github.com?foo=1&bar=2[Hello World]

in the generated PDF goes to:

https://github.com/?foo=1&bar=2

The ampersand in the url is HTML escaped but should not be.

@mojavelinux
Copy link
Member

Nice catch! Our text parser handles character references in regular text, but it does not handle them inside attribute values. The main case of this is the link target. We can at least handle that case.

mojavelinux added a commit to mojavelinux/asciidoctor-pdf that referenced this issue May 24, 2016
- decode character references (e.g., &) in link URIs
- update terminology for refering to character references
- minor code cleanups
@mojavelinux
Copy link
Member

PR sent!

fapdash pushed a commit to vogellacompany/asciidoctor-pdf that referenced this issue Dec 13, 2016
…sciidoctor#450)

- decode character references (e.g., &) in link URIs
- update terminology for refering to character references
- minor code cleanups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants