4 = KEY ====================
8 ==========================
10 If no interest is expressed for a feature that may require a considerable
11 amount of effort to implement, it may get endlessly delayed. Do not be
12 afraid to cast your vote for the next feature to be implemented!
14 - Implement validation for query and for fragment
15 - Allow imagecrash protection in CSS images to be turned off
16 - Allow imagecrash protection in CSS to be configurable with a max value
17 - Maintain old attribute data in tokens (configurable?)
18 - Allow URIFilters to run early?
19 - Lazy update of token when validating attributes?
20 - Investigate how early internal structures can be accessed; this would
21 prevent structures from being parsed and serialized multiple times.
26 3.2 release [It's All About Trust] (floating)
27 # Implement untrusted, dangerous elements/attributes
28 - Objects and Forms are especially wanted
29 # Implement IDREF support (harder than it seems, since you cannot have
30 IDREFs to non-existent IDs)
31 # Frameset XHTML 1.0 and HTML 4.01 doctypes
32 - Research and implement a "safe" version of the Object module
34 3.3 release [Error'ed]
35 # Error logging for filtering/cleanup procedures
36 - XSS-attempt detection--certain errors are flagged XSS-like
38 3.4 release [Do What I Mean, Not What I Say]
39 # Additional support for poorly written HTML
40 - Microsoft Word HTML cleaning (i.e. MsoNormal, but research essential!)
41 - Friendly strict handling of <address> (block -> <br>)
42 ? Remove redundant tags, ex. <u><u>Underlined</u></u>. Implementation notes:
43 1. Analyzing which tags to remove duplicants
44 2. Ensure attributes are merged into the parent tag
45 3. Extend the tag exclusion system to specify whether or not the
46 contents should be dropped or not (currently, there's code that could do
47 something like this if it didn't drop the inner text too.)
48 - Remove <span> tags that don't do anything (no attributes)
49 - Remove empty inline tags<i></i>
50 - Append something to duplicate IDs so they're still usable (impl. note: the
51 dupe detector would also need to detect the suffix as well)
52 - Externalize inline CSS to promote clean HTML, proposed by Sander Tekelenburg
54 4.0 release [Beyond HTML]
55 # Legit token based CSS parsing (will require revamping almost every
56 AttrDef class). Probably will use CSSTidy class?
57 # More control over allowed CSS properties using a modularization
60 - Standardize token armor for all areas of processing
61 - Convert RTL/LTR override characters to <bdo> tags, or vice versa on demand.
62 Also, enable disabling of directionality
64 5.0 release [To XML and Beyond]
65 - AllowedAttributes and ForbiddenAttributes step on the toes of XML by
66 using periods; this needs to be changed.
67 - Extended HTML capabilities based on namespacing and tag transforms (COMPLEX)
68 - Hooks for adding custom processors to custom namespaced tags and
69 attributes, offer default implementation
70 - Lots of documentation and samples
73 - More refactoring to take advantage of PHP5's facilities
74 - Refactor unit tests into lots of test methods
75 - Plugins for major CMSes (COMPLEX)
77 - Drupal needs loving!
79 - more! (look for ones that use WYSIWYGs)
80 - Also, maybe a FAQ for extension writers with HTML Purifier
84 - Syntax highlighting (with GeSHi) with <pre> and possibly <?php
85 - Look at http://drupal.org/project/Modules/category/63 for ideas
88 - Reduce size of internal data-structures (esp. HTMLDefinition)
89 - Research memory usage of objects versus arrays
90 - Combine multiple strategies into a single, single-pass strategy
91 - Get PH5P working with the latest versions of DOM, which have much more
92 stringent error checking procedures. Maybe convert straight to tokens.
93 - Get rid of set_include_path(). Save this for another major release.
96 ! Factor demo.php into a set of Printer classes, and then create a stub
97 file for users here (inside the actual HTML Purifier library)
98 ! Support exporting configuration, so users can easily tweak settings
99 in the demo, and then copy-paste into their own setup
100 - Advanced URI filtering schemes (see docs/proposal-new-directives.txt)
101 - Allow scoped="scoped" attribute in <style> tags; may be troublesome
102 because regular CSS has no way of uniquely identifying nodes, so we'd
104 - Explain how to use HTML Purifier in non-PHP languages / create
105 a simple command line stub (or complicated?)
106 - Fixes for Firefox's inability to handle COL alignment props (Bug 915)
107 - Automatically add non-breaking spaces to empty table cells when
108 empty-cells:show is applied to have compatibility with Internet Explorer
109 - Table of Contents generation (XHTML Compiler might be reusable). May also
110 be out-of-band information.
111 - Full set of color keywords. Also, a way to add onto them without
112 finalizing the configuration object.
113 - Write a var_export and memcached DefinitionCache - Denis
115 Maintenance related (slightly boring)
116 # CHMOD install script for PEAR installs
117 ! Factor out command line parser into its own class, and unit test it
118 ! Nested configuration namespaces
119 - Distinguish between default settings and explicitly set settings, so
120 configurations can be merged
123 ChildDef related (very boring)
124 - Abstract ChildDef_BlockQuote to work with all elements that only
125 allow blocks in them, required or optional
126 - Implement lenient <ruby> child validation
129 - Non-lossy smart alternate character encoding transformations (unless
131 - Pretty-printing HTML: users can use Tidy on the output on entire page
132 - Native content compression, whitespace stripping: use gzip if this is