Actions
Bug #94917
closedstyles.content.allowTags not working, renderd iframe as <iframe>
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-08-17
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
sanitizeHtml, html-sanitizer
Complexity:
Is Regression:
Sprint Focus:
Description
I run a small news website. I sometimes put iframe html-code in tx_news articles.
With TYPO3 10.4.19
<iframe src="..."></iframe>
will be transformed into
<iframe src="..."></iframe>
after saving the article in ckeditor.
Since TYPO3 10.4.20, the iframe-code will be saved correctly in the editor. But unfortunately it is still rendering incorrectly on the homepage.
I have following in my template constants. I successfully checked it with TypoScript-Object-Browser.
styles.content.allowTags:= addToList(iframe)
In ckeditor preset yaml i have this (excerpt):
processing: allowTags: - iframe - img editor: config: extraAllowedContent: "iframe,img"
It seems to be an additional problem with htmlSanitize.
Thanks :)
Files
Actions