When attempting to include an image in the description of a mod on Modrinth, the URL generated for the image is incorrect. The URL modification process adds the string https://wsrv.nl/?url= followed by the encoded URL, but the encoded URL is incorrect
Steps to reproduce
Go to Modrinth and navigate to the mod's description editing section.
Insert the following markdown syntax in the description:
This issue occurs specifically with image URLs containing multiple query parameters in the mod description section on Modrinth. The incorrect URL encoding on Modrinth's side impacts the correct loading and display of images within the mod descriptions.
I am not sure if this is an issue on the client or server side but I assume this is the correct place to report the issue to.
Describe the bug
When attempting to include an image in the description of a mod on Modrinth, the URL generated for the image is incorrect. The URL modification process adds the string https://wsrv.nl/?url= followed by the encoded URL, but the encoded URL is incorrect
Steps to reproduce
Expected behavior
The URL in the generated mod description should be: https://wsrv.nl/?url=https%3A%2F%2Ftomate-api.vercel.app%2Fapi%2Fdependency%3Fmod%3Dfabric-api%26color%3Dbcb29c&n=-1
Actual Behavior: The URL is: https://wsrv.nl/?url=https%3A%2F%2Ftomate-api.vercel.app%2Fapi%2Fdependency%3Fmod%3Dfabric-api%26amp%3Bcolor%3Dbcb29c&n=-1
Additional context
This issue occurs specifically with image URLs containing multiple query parameters in the mod description section on Modrinth. The incorrect URL encoding on Modrinth's side impacts the correct loading and display of images within the mod descriptions.
I am not sure if this is an issue on the client or server side but I assume this is the correct place to report the issue to.