solid-start
solid-start copied to clipboard
In MD and MDX, URLs for links and images have their query strings wrongly escaped
This breaks any link or image embed that has a URL with a query string that includes URL-escapable characters. (At the very least, it happens for ampersands. I haven't tested it with any other characters.)
It seems that both .md and .mdx documents are affected.
Example:
[Link](http://test.com/foo?one=1&two=2)
will render to:
<a href="http://test.com/foo?one=1&two=2">Link</a>
while it should render to:
<a href="http://test.com/foo?one=1&two=2">Link</a>
I've set up a minimal project that reproduces the issue.
It's impossible for me to tell if this is an issue with the solid-mdx or solid-start-mdx packages, or the framework itself (since this also happens in normal Markdown files.)
Edit: Updated to reflect the fact that it also happens in normal Markdown files.