Skip to content
Snippets Groups Projects
Commit 4740ae5c authored by Benni Mack's avatar Benni Mack Committed by Christian Kuhn
Browse files

[TASK] Code cleanup for RteHtmlParser

Several code parts have been cleaned up and sorted into separate methods
to ensure readability.

Certain options defined by procOptions are now initialized at the very
beginning, before all transformations.

Resolving modes are moved into a separate method, as well as configuring
the entry- and exit-HTML parser, making the main method easier to read.

Cleaning up content and adding <p> tags around "simple" content lines
has been split up as well to avoid code duplication.

Resolves: #79280
Releases: master
Change-Id: Ib734a8cedebff3cc0b415155b6328bf3a77841e9
Reviewed-on: https://review.typo3.org/51268


Reviewed-by: default avatarSusanne Moog <susanne.moog@typo3.org>
Tested-by: default avatarSusanne Moog <susanne.moog@typo3.org>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent bd4c29e7
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment