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 Things to do as soon as possible:
16 - Think about allowing explicit order of operations hooks for transforms
17 - Inputs don't do the right thing with submit
18 - Fix "<.<" bug (trailing < is removed if not EOD)
19 - Build in better internal state dumps and debugging tools for remote
21 - Allowed/Allowed* have strange interactions when both set
26 4.1 release [OMG CONFIG PONIES]
27 ! Fix Printer. It's from the old days when we didn't have decent XML classes
28 ! Factor demo.php into a set of Printer classes, and then create a stub
29 file for users here (inside the actual HTML Purifier library)
30 - Fix error handling with form construction
31 - Do encoding validation in Printers, or at least, where user data comes in
32 - Config: Add examples to everything (make built-in which also automatically
34 - Add "register" field to config schemas to eliminate dependence on
35 naming conventions (try to remember why we ultimately decided on tihs)
38 # Swap out code to use html5lib tokenizer and tree-builder
39 ! Allow turning off of FixNesting and required attribute insertion
41 5.1 release [It's All About Trust] (floating)
42 # Implement untrusted, dangerous elements/attributes
43 # Implement IDREF support (harder than it seems, since you cannot have
44 IDREFs to non-existent IDs)
45 - Implement <area> (client and server side image maps are blocking
47 # Frameset XHTML 1.0 and HTML 4.01 doctypes
48 - Figure out how to simultaneously set %CSS.Trusted and %HTML.Trusted (?)
50 5.2 release [Error'ed]
51 # Error logging for filtering/cleanup procedures
52 # Additional support for poorly written HTML
53 - Microsoft Word HTML cleaning (i.e. MsoNormal, but research essential!)
54 - Friendly strict handling of <address> (block -> <br>)
55 - XSS-attempt detection--certain errors are flagged XSS-like
56 - Append something to duplicate IDs so they're still usable (impl. note: the
57 dupe detector would also need to detect the suffix as well)
59 6.0 release [Beyond HTML]
60 # Legit token based CSS parsing (will require revamping almost every
61 AttrDef class). Probably will use CSSTidy
62 # More control over allowed CSS properties using a modularization
63 # IRI support (this includes IDN)
64 - Standardize token armor for all areas of processing
66 7.0 release [To XML and Beyond]
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 - Also, a FAQ for extension writers with HTML Purifier
81 - Syntax highlighting (with GeSHi) with <pre> and possibly <?php
82 - Look at http://drupal.org/project/Modules/category/63 for ideas
85 ! Support exporting configuration, so users can easily tweak settings
86 in the demo, and then copy-paste into their own setup
87 - Advanced URI filtering schemes (see docs/proposal-new-directives.txt)
88 - Allow scoped="scoped" attribute in <style> tags; may be troublesome
89 because regular CSS has no way of uniquely identifying nodes, so we'd
91 - Explain how to use HTML Purifier in non-PHP languages / create
92 a simple command line stub (or complicated?)
93 - Fixes for Firefox's inability to handle COL alignment props (Bug 915)
94 - Automatically add non-breaking spaces to empty table cells when
95 empty-cells:show is applied to have compatibility with Internet Explorer
96 - Table of Contents generation (XHTML Compiler might be reusable). May also
97 be out-of-band information.
98 - Full set of color keywords. Also, a way to add onto them without
99 finalizing the configuration object.
100 - Write a var_export and memcached DefinitionCache - Denis
101 - Built-in support for target="_blank" on all external links
102 - Convert RTL/LTR override characters to <bdo> tags, or vice versa on demand.
103 Also, enable disabling of directionality
104 ? Externalize inline CSS to promote clean HTML, proposed by Sander Tekelenburg
105 ? Remove redundant tags, ex. <u><u>Underlined</u></u>. Implementation notes:
106 1. Analyzing which tags to remove duplicants
107 2. Ensure attributes are merged into the parent tag
108 3. Extend the tag exclusion system to specify whether or not the
109 contents should be dropped or not (currently, there's code that could do
110 something like this if it didn't drop the inner text too.)
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 - Reduce size of internal data-structures (esp. HTMLDefinition)
116 - Allow merging configurations. Thus,
120 a -> b -> c -> d -> default
121 Maybe allow more fine-grained tuning of this behavior. Alternatively,
122 encourage people to use short plist depths before building them up.
125 ChildDef related (very boring)
126 - Abstract ChildDef_BlockQuote to work with all elements that only
127 allow blocks in them, required or optional
128 - Implement lenient <ruby> child validation
131 - Non-lossy smart alternate character encoding transformations (unless
133 - Pretty-printing HTML: users can use Tidy on the output on entire page
134 - Native content compression, whitespace stripping: use gzip if this is