Replace "unhtmlentities" with PHP native "htmlspecialchars_decode" method

380 views
Skip to first unread message

Dmitry A.

unread,
Apr 15, 2012, 2:54:01 PM4/15/12
to in-por...@googlegroups.com
Hi guys,


Looks like we can safely replace In-Portal's "kUtil::unhtmlentities" with PHP native "htmlspecialchars_decode" method.

htmlspecialchars_decode function is available since PHP 5.1.0 and is equivalent of our kUtil::unhtmlentities which was done for PHP4 backwards compatibility.


Task:

1259: Replace "unhtmlentities" with PHP native "htmlspecialchars_decode" method - http://tracker.in-portal.org/view.php?id=1259


DA

Alexander Obuhovich

unread,
Apr 20, 2012, 8:28:16 AM4/20/12
to in-por...@googlegroups.com
Ready for testing.
use_buildin_htmlentitiesdecode_function_core.patch
use_buildin_htmlentitiesdecode_function_modules.patch
Reply all
Reply to author
Forward
0 new messages