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

a url having an "&" to separate parameters is converted to "&" and thereby broken #337

Open
itcarroll opened this issue Nov 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@itcarroll
Copy link

Describe the bug

When I add markdown for a link with multiple query parameters, the HTML produced replaces & with &. This results in query parameters being screwed up.

Reproduce the bug

Do a jb create book and then add the following line to book/intro.md.

Here is a [link with borked parameters](https://www.youtube.com/watch?v=lZ2FHTkyaMU&t=5s).

Preview and try the (SFW) link ... the t parameter gets stripped because the url has & rather than &.

List your environment

$ jb --version
Jupyter Book      : 1.0.2
External ToC      : 1.0.1
MyST-Parser       : 2.0.0
MyST-NB           : 1.1.1
Sphinx Book Theme : 1.1.3
Jupyter-Cache     : 1.0.0
NbClient          : 0.10.0
markdown-it-py                3.0.0
mdit-py-plugins               0.4.1

Python 3.11.9 on Ubuntu jammy.

@itcarroll itcarroll added the bug Something isn't working label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant