#15221Function HTMLcleaner_db of class t3lib_parseHTML_proc ignores xhtml_cleaning property
Description
Function HTMLcleaner_db of class t3lib_parseHTML_proc ignores setting RTE.default.proc.HTMLparser_db.xhtml_cleaning=1
As a result, for example, br tags are stored in the database as
rather than
.
Line:
return $this->HTMLcleaner($content,$keepTags,$kUknown,$hSC);
should be replaced with the following:
// Create additional configuration:
$addConfig=array();
if (is_array($this->procOptions[‘entryHTMLparser_db.’]) && $this->procOptions[‘entryHTMLparser_db.’][‘xhtml_cleaning’]) {
$addConfig[‘xhtml’]=1;
}
return $this->HTMLcleaner($content,$keepTags,$kUknown,$hSC,$addConfig);
(issue imported from #M1901)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.