[TYPO3-core] FYI48: #12548: opendocs produce invalid HTML

Martin Kutschker masi-no at spam-typo3.org
Tue Nov 10 21:22:31 CET 2009


Steffen Kamper schrieb:
> Hi,
> 
> to be safe i also used the Lookahead for replace too.

Safe in what way? Looks like you try to prevent double-encoding, but that shouldn't be necessary.
Either the encoding has to be done here... or not.

And I agree with Benni, that htmlspecialchars() is the function you're looking for.

Masi


More information about the TYPO3-team-core mailing list