#16391[RTE] processing to db - sometimes images are "disappearing" ... (between RTE and database)
Description
tag into linebreak …
THEN the TODB process, Check that the lines is not empty , so it can get rid of it if it the case.
THIS is done with the following implementation :
[TYPO3 CODE]
——————————————————————————————————————————
// If it turns out the line is just blank (containing a possibly) then just make it pure blank:
if (trim(strip_tags($divSplit[$k]))==’ ’) $divSplit[$k]=’‘;
——————————————————————————————————————————
tag .. In this case the test is TRUE and the all
is deleted …
We have patched the t3lib file :
\t3lib\class.t3lib_parsehtml_proc.php LINE 1283 :
by adding a restriction on the strip_tag function … in the FUNCTION
divideIntoLines($value,$count=5,$returnArray=FALSE)
I guess there should be other tags allowed , the one that are not holding content .. may be the anchors ? , some more ?
The XCLASSED correction :
// if (trim(strip_tags($divSplit[$k]))==’ ’) $divSplit[$k]=’‘;
if (trim(strip_tags($divSplit[$k]),’‘)==’ ’) $divSplit[$k]=’‘;
(issue imported from #M3905)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.