svgo icon indicating copy to clipboard operation
svgo copied to clipboard

Ampersand and equals in href

Open Nineswiss opened this issue 3 years ago • 3 comments

When using this link in a href: https://images.unsplash.com/photo-1627637819794-fba32f82be16?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwyNzk5NDJ8MHwxfHNlYXJjaHw5fHwzZCUyMHJlbmRlcmluZ3xlbnwwfHx8fDE2Mzg0MTc3MDM&ixlib=rb-1.2.1&q=80&w=1080 I get the error 'Invalid character in entity name' at the "=" in "cs=". If I remove the "=" the error is now at the ampersand in "b&f" and so on.

Nineswiss avatar Jan 10 '22 06:01 Nineswiss

I'm also having this issue with image links, also any % symbols get an error, so you can't even url encode the characters

andrewmumblebee avatar Aug 04 '22 09:08 andrewmumblebee