Issue Bug Closed

#44879Remove inline styles from parsed blockquote tag

Sebastian Michaelsen 01/28/13, 12:16 updated 10/23/17, 22:01

Description

css_styled_content’s lib.parseFunc_RTE has the following rule:

externalBlocks.blockquote.callRecursive.tagStdWrap.HTMLparser.tags.blockquote.overrideAttribs = style=“margin-bottom:0;margin-top:0;”

I don’t know the intention of this rule (it’s there since at least 20041) but it ruins my output as it removes my attributes (such as class) from blockquote tags and sets the inline styles instead – those should be avoided anyway.
So my suggestion is to simply remove this rule.

[1] http://git.typo3.org/TYPO3v4/Core.git/blob/5d4f9d2afe09d576075726f348d236409be896a0:/typo3/sysext/css_styled_content/static/setup.txt

Reviews 2