Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / Core Labs / Archive / HTML entities

sed_cc behavior

Trustmaster
#1 2008-09-05 16:44
Well, sed_cc is somewhat causing troubles from times to times: some entities replaced, some left, etc. I wonder why htmlspecialchars() is not used instead. I have uploaded htmlspecialchars version of sed_cc() in trunk, so please test it and report if it causes any problems.
May the Source be with you!
Orkan
#2 2008-09-06 07:06
The *_cc() function was there since early version of LDU. I think Olivier wanted to take full control over it... but you're right, it could be easly replaced by htmlspecialchars()
Perl - the only language that looks the same before and after RSA encryption.