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