mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-01-03 05:11:52 +00:00
Attribute unichr().
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@125 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
9b7ad89ab5
commit
f881061d5f
@ -15,6 +15,7 @@ $entity_dir = '../docs/entities/';
|
|||||||
// defines the output file for the serialized content.
|
// defines the output file for the serialized content.
|
||||||
$output_file = '../library/HTMLPurifier/EntityLookup/data.txt';
|
$output_file = '../library/HTMLPurifier/EntityLookup/data.txt';
|
||||||
|
|
||||||
|
// courtesy of a PHP manual comment
|
||||||
function unichr($dec) {
|
function unichr($dec) {
|
||||||
if ($dec < 128) {
|
if ($dec < 128) {
|
||||||
$utf = chr($dec);
|
$utf = chr($dec);
|
||||||
|
Loading…
Reference in New Issue
Block a user