Steps to reproduce the issue
- Create a new material.
- Drag the image into the editor field.
- In the description field of the pop-up window, enter the text "The «Name» for the picture".
- Click the Save button.
- Check the source code of the material.
- You can see the text « Name » in the ALT attribute.
This is a mistake.
Expected result
Because when saving « Name »
characters will be replaced with « Name »
Actual result
Because when saving « Name »
characters will be replaced with « Name »
Additional comments
It is necessary to fix the code so that when writing text in the image description field, special characters are not converted to HTML variants. Since the text in the ALT and TITLE attributes will then be displayed on the site as is, in the form of HTML characters.


A real example from the site.

This is an important correction. Since in languages with Cyrillic characters, it is customary to write quotation marks in the form of a Christmas tree. Perhaps it is also accepted in other languages. Such quotation marks clearly show where it opens and where it closes, similar to parentheses.