Bug #44879

Remove inline styles from parsed blockquote tag

Added by Sebastian Michaelsen over 8 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
Start date:
2013-01-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

#1

Updated by Gerrit Code Review over 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17758

#2

Updated by Gerrit Code Review over 8 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17758

#3

Updated by Gerrit Code Review about 8 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17758

#4

Updated by Dominik Lenné about 7 years ago

Issue holds for v 6.2.0

#5

Updated by Gerrit Code Review over 6 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/17758

#6

Updated by Jan Helke over 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#7

Updated by Riccardo De Contardi over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF