[TYPO3-dam-devel] RFC: #12127: Markers not replaced when editing document
Benjamin Mack
benni at typo3.org
Fri Oct 9 14:32:06 CEST 2009
Hi Dan,
I just looked into that, how about fixing this in the TYPO3 core
automatically?
in the file typo3/template.php we could modify the method "moduleBody" from:
// replacing all markers with the finished markers and return the HTML
content
return t3lib_parsehtml::substituteMarkerArray($moduleBody, $markerArray,
'###|###');
with:
// replacing all markers with the finished markers and return the HTML
content
$content = t3lib_parsehtml::substituteMarkerArray($moduleBody,
$markerArray, '###|###');
return preg_replace("/###([^#]*?)###/", '', $content);
What do you think? Would you like to prepare a patch for 4.2 and 4.3
trunk and send it to the core list?
All the best,
Benni.
More information about the TYPO3-team-dam
mailing list