[3.0.0]
[htmlpurifier/bfroehle.git] / TODO
blobf39e1b84049f67b824fd3031adb5c36442bc92ff
2 TODO List
4 = KEY ====================
5     # Flagship
6     - Regular
7     ? Maybe I'll Do It
8 ==========================
10 If no interest is expressed for a feature that may required 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 3.0 release [Go PHP5!]
15  - Convert all &$context calls to $context, as PHP5 passes objects by value
17 3.1 release [Error'ed]
18  # Error logging for filtering/cleanup procedures
19  - XSS-attempt detection
21 3.2 release [Do What I Mean, Not What I Say]
22  # Additional support for poorly written HTML
23     - Microsoft Word HTML cleaning (i.e. MsoNormal, but research essential!)
24     - Friendly strict handling of <address> (block -> <br>)
25  - Remove redundant tags, ex. <u><u>Underlined</u></u>. Implementation notes:
26     1. Analyzing which tags to remove duplicants
27     2. Ensure attributes are merged into the parent tag
28     3. Extend the tag exclusion system to specify whether or not the
29     contents should be dropped or not (currently, there's code that could do
30     something like this if it didn't drop the inner text too.)
31  - Remove <span> tags that don't do anything (no attributes)
32  - Remove empty inline tags<i></i>
33  - Append something to duplicate IDs so they're still usable (impl. note: the
34    dupe detector would also need to detect the suffix as well)
35  - Externalize inline CSS to promote clean HTML
37 3.3 release [It's All About Trust] (floating)
38  # Implement untrusted, dangerous elements/attributes
39  # Implement IDREF support (harder than it seems, since you cannot have
40    IDREFs to non-existent IDs)
41  # Frameset XHTML 1.0 and HTML 4.01 doctypes
43 4.0 release [Beyond HTML]
44  # Legit token based CSS parsing (will require revamping almost every
45    AttrDef class). Probably will use CSSTidy class
46  # More control over allowed CSS properties (maybe modularize it in the
47    same fashion!)
48  # Formatters for plaintext
49     - Smileys
50  - Standardize token armor for all areas of processing
51  - Convert RTL/LTR override characters to <bdo> tags, or vice versa on demand.
52    Also, enable disabling of directionality
54 5.0 release [To XML and Beyond]
55  - Extended HTML capabilities based on namespacing and tag transforms (COMPLEX)
56     - Hooks for adding custom processors to custom namespaced tags and
57       attributes, offer default implementation
58     - Lots of documentation and samples
60 Ongoing
61  - Lots of profiling, make it faster!
62  - Plugins for major CMSes (COMPLEX)
63     - phpBB
64     - eFiction
65     - more! (look for ones that use WYSIWYGs)
66  - Complete basic smoketests
68 Unknown release (on a scratch-an-itch basis)
69  # CHMOD install script for PEAR installs
70  ? Have 'lang' attribute be checked against official lists, achieved by
71    encoding all characters that have string entity equivalents
72  - Abstract ChildDef_BlockQuote to work with all elements that only
73    allow blocks in them, required or optional
74  - Reorganize Unit Tests
75  - Reorganize configuration directives (Create more namespaces! Get messy!)
76  - Advanced URI filtering schemes (see docs/proposal-new-directives.txt)
77  - Implement lenient <ruby> child validation
78  - Explain how to use HTML Purifier in non-PHP languages / create
79    a simple command line stub (or complicated?)
80  - Fixes for Firefox's inability to handle COL alignment props (Bug 915)
81  - Automatically add non-breaking spaces to empty table cells when
82    empty-cells:show is applied to have compatibility with Internet Explorer
84 Requested
86 Wontfix
87  - Non-lossy smart alternate character encoding transformations (unless
88    patch provided)
89  - Pretty-printing HTML: users can use Tidy on the output on entire page
90  - Native content compression, whitespace stripping (don't rely on Tidy, make
91    sure we don't remove from <pre> or related tags): use gzip if this is
92    really important