[TYPO3-dam-devel] RFC: #12127: Markers not replaced when editing document

Michiel Roos [netcreators] michiel at netcreators.com
Sun Oct 11 12:26:50 CEST 2009


Benjamin Mack schreef:
> 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?

That sounds like a great idea!


-- 

Met vriendelijke groet / Warm regards,


Michiel Roos
TYPO3 Developer
Certified TYPO3 Integrator

t. 06 458 7 8 9 10
w. netcreators.com
_____________________________________________
Netcreators: Open Source, Open Minds, Open People
_____________________________________________

TYPO3 Developer gezocht, lees de vacature online:
http://www.netcreators.com/bedrijf/vacatures-typo3-developer/


More information about the TYPO3-team-dam mailing list