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

Converting from md to tex causes Pandoc to make wrong http-link #8903

Closed
Stivi opened this issue Jun 11, 2023 · 2 comments
Closed

Converting from md to tex causes Pandoc to make wrong http-link #8903

Stivi opened this issue Jun 11, 2023 · 2 comments
Labels

Comments

@Stivi
Copy link

Stivi commented Jun 11, 2023

this md link:

[0:00:25](https://www.youtube.com/watch?v=I2yVb_Tc2gs&t=25s)

has converted to this tex link:

\href{https://www.youtube.com/watch?v=I2yVb_Tc2gs\&t=25s}{0:00:25}

There was an unnecessary backslash in \&t=25s.

Expected:

\href{https://www.youtube.com/watch?v=I2yVb_Tc2gs&t=25s}{0:00:25}

Pandoc version

pandoc 3.1.3
@Stivi Stivi added the bug label Jun 11, 2023
@jgm
Copy link
Owner

jgm commented Jun 14, 2023

Does the link still work with the backslash? (Is this an aesthetic issue or a functional one?)

@Stivi
Copy link
Author

Stivi commented Jun 15, 2023

The link becomes inoperable. The problem is functional.

@jgm jgm closed this as completed in 913bd8c Jun 16, 2023
jgm added a commit that referenced this issue Jun 17, 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

2 participants