HTML content element html-decodes HTML entities
|Priority:||Must have||Due date:|
When saving the HTML markup in an HTML content
element it HTML-decodes all HTML entities.
E.g. the following:
will be converted to:
and thus will be executed in the frontend
instead of printed out for demonstration.
Updated by Ernesto Baschny 10 months ago
- Status changed from New to Accepted
- Target version deleted (
- TYPO3 Version changed from 4.7 to 4.6
The bug seems to be in the backend editing form.
It doesn't happen in TYPO3 4.5, it started with 4.6:
On first save, it is properly saved to the database and also displayed as is in the frontend. As soon as you re-open the editing form in the backend, the entities are replaced with the less-than signs, and when you just save it back again: You have no more entities in the database.
Could you confirm that this is the bug in your situation (i.e. on first saving it works...)?
This is related to the introduction of the t3editor for HTML editing in 4.6. As soon as you uninstall t3editor, it works as expected.