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

markdown+link_attributes: not effective for reference links #9171

Closed
UlyssesZh opened this issue Nov 5, 2023 · 0 comments
Closed

markdown+link_attributes: not effective for reference links #9171

UlyssesZh opened this issue Nov 5, 2023 · 0 comments
Labels

Comments

@UlyssesZh
Copy link

Explain the problem.

pandoc --from markdown+link_attributes --to html5
[link][link contents]{target="_blank"}
[link2](https://example.com){target="_blank"}

[link contents]: https://example.com

Get:

<p><a href="https://example.com">link</a>{target=“_blank”} <a
href="https://example.com" target="_blank">link2</a></p>

Expected:

<p><a href="https://example.com" target="_blank">link</a> <a
href="https://example.com" target="_blank">link2</a></p>

Pandoc version
3.1.9

@UlyssesZh UlyssesZh added the bug label Nov 5, 2023
@jgm jgm closed this as completed in 76cd115 Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant