• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Editing an external image with an ampersand in URL breaks image

Jon W

Well-known member
Steps to reproduce:
  1. Add an image with an ampersand in the url to a post (e.g. https://waindigo.org/feature.php?text=This is a test&premium=1&even=1).
  2. Click the image to edit the image.
  3. Don't change anything and click insert.
  4. Repeat steps 2-3 as many times as you like to make it even worse.
After step 1, the above image will look like this:

But after step 3, it will look like this:

because the ampersands have been incorrectly replaced with & and are now being ignored.

It doesn't do this with URLs.