Download & Extend

Special characters in title cause entity problems

Project:Image Assist
Version:5.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I have Wysiwyg and TinyMCE, Image (5.x-2.0-alpha4, tried 3 too) and latest version of 5.x-3.x-dev of the Image Assist.

1. I click the image icon in the editor and add an image and write "special" & "characters" on the title field
2. Then move to the next window, the "Properties: Change how the image is displayed."
3. That window shows the image preview and under it the title that I inserted for the image node, but the title now says "special" & "characters". The "Title (optional)" field encodes the characters yet again, and shows "special" & "characters"
4. When showing the image caption with the image, the caption says "special" & "characters", since it's decoded only once.

The image node that was created has the title as it was typed, "special" & "characters"

Why is the encoding done at all (let alone twice in the input field) in step three? It really puzzles me and causes lots of questions by the editors who use the tool to add images, and they quite often contain special characters that cause these problems.