Luca
Luca

Reputation: 21

Typo3 bootstrap_HTML Tag changes my video tag to entity

I just upgraded my Typo3 System from 11 to 12 and now I am facing the that the Html Element inside my Carousel is changing my video tag to entities when I save my changes. I already looked inside the Html.html template of bootstrap and made sure that it was the one being used. I also tried allowing video, source and track tags directly via TypoScript:

lib.parseFunc.allowTags := addToList(video,source,track)

lib.parseFunc_RTE.allowTags := addToList(video,source,track)

After that I tried the same for RTE's even if I knew the bodytext element is type=input

RTE.default.proc.allowTags := addToList(video,source,track)

RTE.default.proc.allowTagsOutside := addToList(video,source,track)

lib.parseFunc_RTE.allowTags := addToList(video,source,track)

Html.html:

<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true"> {item.data.bodytext->f:format.raw()} </html>

Issue Despite these changes, TYPO3 still encodes

 <video>, <source>, and <track>

into entities upon saving.

Question Is there a way to prevent TYPO3 from encoding these tags while keeping security intact? Am I missing a setting or additional processing step?

Upvotes: 1

Views: 40

Answers (0)

Related Questions