0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-10 07:38:41 +00:00
htmlpurifier/library/HTMLPurifier/HTMLModule
Edward Z. Yang fd384129bf Proper support for name attribute in <a> and <img>
Prior to this commit, the name attribute was unilaterally removed, except
for Strict doctypes or a heavy TidyLevel, when it was converted to an id
attribute. As name is actually permitted in both HTML 4.01 Strict and
XHTML 1.0 Strict, although deprecated, the more sensible default behavior
is to allow it unless TidyLevel is heavy.

Our implementation is slightly stricter than the specs, as name attributes are
treated as first class IDs, disallowing <a name="foo" id="foo"> or duplicate
names. The former should be treated as a special case, but that will be
a separate commit.

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
2008-06-27 15:44:27 -04:00
..
Tidy Proper support for name attribute in <a> and <img> 2008-06-27 15:44:27 -04:00
Bdo.php [3.1.1] Migrate all HTMLModules to use setup($config) rather than __construct 2008-05-22 19:36:59 +00:00
CommonAttributes.php [3.1.0] The bulk of autoload support added 2008-01-27 01:54:41 +00:00
Edit.php [3.1.1] Migrate all HTMLModules to use setup($config) rather than __construct 2008-05-22 19:36:59 +00:00
Hypertext.php [3.1.1] Migrate all HTMLModules to use setup($config) rather than __construct 2008-05-22 19:36:59 +00:00
Image.php [3.1.1] Round up imagecrash support with HTML.MaxImgLength 2008-05-23 02:09:43 +00:00
Legacy.php [3.1.1] Migrate all HTMLModules to use setup($config) rather than __construct 2008-05-22 19:36:59 +00:00
List.php [3.1.1] Migrate all HTMLModules to use setup($config) rather than __construct 2008-05-22 19:36:59 +00:00
Name.php Proper support for name attribute in <a> and <img> 2008-06-27 15:44:27 -04:00
NonXMLCommonAttributes.php [3.1.0] The bulk of autoload support added 2008-01-27 01:54:41 +00:00
Object.php Handle CRLF discrepancies 2008-06-24 21:10:51 -04:00
Presentation.php [3.1.1] Migrate all HTMLModules to use setup($config) rather than __construct 2008-05-22 19:36:59 +00:00
Proprietary.php [3.1.1] Migrate all HTMLModules to use setup($config) rather than __construct 2008-05-22 19:36:59 +00:00
Ruby.php [3.1.1] Migrate all HTMLModules to use setup($config) rather than __construct 2008-05-22 19:36:59 +00:00
SafeEmbed.php [3.1.1] Implement SafeEmbed. Also, miscellaneous bugfixes. 2008-06-10 01:18:03 +00:00
SafeObject.php [3.1.1] Implement SafeEmbed. Also, miscellaneous bugfixes. 2008-06-10 01:18:03 +00:00
Scripting.php [3.1.1] Migrate all HTMLModules to use setup($config) rather than __construct 2008-05-22 19:36:59 +00:00
StyleAttribute.php [3.1.1] Migrate all HTMLModules to use setup($config) rather than __construct 2008-05-22 19:36:59 +00:00
Tables.php [3.1.1] Migrate all HTMLModules to use setup($config) rather than __construct 2008-05-22 19:36:59 +00:00
Target.php [3.1.1] Migrate all HTMLModules to use setup($config) rather than __construct 2008-05-22 19:36:59 +00:00
Text.php [3.1.1] Migrate all HTMLModules to use setup($config) rather than __construct 2008-05-22 19:36:59 +00:00
Tidy.php [3.1.1] construct() to setup() in HTMLModules 2008-05-22 04:34:19 +00:00
XMLCommonAttributes.php [3.1.0] The bulk of autoload support added 2008-01-27 01:54:41 +00:00