0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-01-03 05:11:52 +00:00
- Add 1.1.3 section in NEWS
- Replace tabs with four spaces in INSTALL
- Renamed data.txt to entities.ser

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@481 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2006-09-30 20:18:08 +00:00
parent 4d96433c23
commit d660b9018b
5 changed files with 7 additions and 4 deletions

3
NEWS
View File

@ -11,6 +11,9 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier
1.2.0, unknown projected release date 1.2.0, unknown projected release date
(feature release) (feature release)
1.1.3, unknown projected release date
(bugfix release, may be dropped if no major bugs are found before features)
1.1.2, released 2006-09-30 1.1.2, released 2006-09-30
! Add HTMLPurifier.auto.php stub file that configures include_path ! Add HTMLPurifier.auto.php stub file that configures include_path
- Documentation updated - Documentation updated

View File

@ -19,7 +19,7 @@ class HTMLPurifier_EntityLookup {
*/ */
function setup($file = false) { function setup($file = false) {
if (!$file) { if (!$file) {
$file = dirname(__FILE__) . '/EntityLookup/data.txt'; $file = dirname(__FILE__) . '/EntityLookup/entities.ser';
} }
$this->table = unserialize(file_get_contents($file)); $this->table = unserialize(file_get_contents($file));
} }

View File

@ -13,7 +13,7 @@ chdir( dirname(__FILE__) );
$entity_dir = '../docs/entities/'; $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/entities.ser';
// courtesy of a PHP manual comment // courtesy of a PHP manual comment
function unichr($dec) { function unichr($dec) {