0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-09-19 10:45:18 +00:00

Release 4.9.2

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
This commit is contained in:
Edward Z. Yang 2017-03-12 23:30:53 -07:00
parent 5bc7c72608
commit 6d50e5282a
8 changed files with 25 additions and 21 deletions

View File

@ -31,7 +31,7 @@ PROJECT_NAME = HTMLPurifier
# This could be handy for archiving the generated documentation or # This could be handy for archiving the generated documentation or
# if some version control system is used. # if some version control system is used.
PROJECT_NUMBER = 4.9.1 PROJECT_NUMBER = 4.9.2
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put. # base path where the generated documentation will be put.

2
NEWS
View File

@ -9,7 +9,7 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier
. Internal change . Internal change
========================== ==========================
4.9.2, unknown release date 4.9.2, released 2017-03-12
- Fixes PHP 5.3 compatibility - Fixes PHP 5.3 compatibility
- Fix breakage when decoding decimal entities. Thanks @rybakit (#129) - Fix breakage when decoding decimal entities. Thanks @rybakit (#129)

View File

@ -1 +1 @@
4.9.1 4.9.2

View File

@ -1,8 +1,12 @@
HTML Purifier 4.9.0 is a maintenance release, collecting a year HTML Purifier 4.9.x is a maintenance release, collecting a year
of accumulated bug fixes plus a few new feature. New features of accumulated bug fixes plus a few new features. New features
include support for min/max-width/height CSS, and rgba/hsl/hsla include support for min/max-width/height CSS, and rgba/hsl/hsla
in color specifications. Major bugfixes include improvements in color specifications. Major bugfixes include improvements
in the Serializer cache to avoid chmod'ing directories, better in the Serializer cache to avoid chmod'ing directories, better
entity decoding (we won't accidentally encode entities that occur entity decoding (we won't accidentally encode entities that occur
in URLs) and rel="noopener" on links with target attributes, in URLs) and rel="noopener" on links with target attributes,
to prevent them from overwriting the original frame. to prevent them from overwriting the original frame.
4.9.0 was skipped due to a packaging problem; 4.9.2 fixes two
major regressions in PHP 5.3 support and entity decoding; no
other functional changes were applied.

View File

@ -173,7 +173,7 @@
</file> </file>
<file name="HTMLPurifier/Lexer.php"> <file name="HTMLPurifier/Lexer.php">
<line>313</line> <line>313</line>
<line>352</line> <line>353</line>
</file> </file>
<file name="HTMLPurifier/HTMLModule/Image.php"> <file name="HTMLPurifier/HTMLModule/Image.php">
<line>37</line> <line>37</line>
@ -277,25 +277,25 @@
<line>347</line> <line>347</line>
</file> </file>
</directive> </directive>
<directive id="Core.AggressivelyRemoveScript"> <directive id="Core.HiddenElements">
<file name="HTMLPurifier/Lexer.php"> <file name="HTMLPurifier/Lexer.php">
<line>351</line> <line>351</line>
</file> </file>
<file name="HTMLPurifier/Strategy/RemoveForeignElements.php">
<line>36</line>
</file>
</directive>
<directive id="Core.AggressivelyRemoveScript">
<file name="HTMLPurifier/Lexer.php">
<line>352</line>
</file>
</directive> </directive>
<directive id="Core.RemoveScriptContents"> <directive id="Core.RemoveScriptContents">
<file name="HTMLPurifier/Lexer.php">
<line>352</line>
</file>
<file name="HTMLPurifier/Strategy/RemoveForeignElements.php">
<line>35</line>
</file>
</directive>
<directive id="Core.HiddenElements">
<file name="HTMLPurifier/Lexer.php"> <file name="HTMLPurifier/Lexer.php">
<line>353</line> <line>353</line>
</file> </file>
<file name="HTMLPurifier/Strategy/RemoveForeignElements.php"> <file name="HTMLPurifier/Strategy/RemoveForeignElements.php">
<line>36</line> <line>35</line>
</file> </file>
</directive> </directive>
<directive id="URI."> <directive id="URI.">

View File

@ -7,7 +7,7 @@
* primary concern and you are using an opcode cache. PLEASE DO NOT EDIT THIS * primary concern and you are using an opcode cache. PLEASE DO NOT EDIT THIS
* FILE, changes will be overwritten the next time the script is run. * FILE, changes will be overwritten the next time the script is run.
* *
* @version 4.9.1 * @version 4.9.2
* *
* @warning * @warning
* You must *not* include any other HTML Purifier files before this file, * You must *not* include any other HTML Purifier files before this file,

View File

@ -19,7 +19,7 @@
*/ */
/* /*
HTML Purifier 4.9.1 - Standards Compliant HTML Filtering HTML Purifier 4.9.2 - Standards Compliant HTML Filtering
Copyright (C) 2006-2008 Edward Z. Yang Copyright (C) 2006-2008 Edward Z. Yang
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
@ -58,12 +58,12 @@ class HTMLPurifier
* Version of HTML Purifier. * Version of HTML Purifier.
* @type string * @type string
*/ */
public $version = '4.9.1'; public $version = '4.9.2';
/** /**
* Constant with version of HTML Purifier. * Constant with version of HTML Purifier.
*/ */
const VERSION = '4.9.1'; const VERSION = '4.9.2';
/** /**
* Global configuration object. * Global configuration object.

View File

@ -21,7 +21,7 @@ class HTMLPurifier_Config
* HTML Purifier's version * HTML Purifier's version
* @type string * @type string
*/ */
public $version = '4.9.1'; public $version = '4.9.2';
/** /**
* Whether or not to automatically finalize * Whether or not to automatically finalize