Release 2.0.1, merged in 1181 to HEAD.
[htmlpurifier.git] / TODO
blob5bce0a60d79b95be83c81524cfd373923ff80a1e
1 TODO List
3 = KEY ====================
4     # Flagship
5     - Regular
6     ? Maybe I'll Do It
7 ==========================
9 2.1 release [Refactor, refactor!]
10  # URI validation routines tighter (see docs/dev-code-quality.html) (COMPLEX)
11  # Advanced URI filtering schemes (see docs/proposal-new-directives.txt)
12  # Ruby support
13  - Configuration profiles: predefined directives set with one func call
14  - Implement IDREF support (harder than it seems, since you cannot have
15    IDREFs to non-existent IDs)
16  - Allow non-ASCII characters in font names
18 2.2 release [Error'ed]
19  # Error logging for filtering/cleanup procedures
20  - XSS-attempt detection
22 2.3 release [Do What I Mean, Not What I Say]
23  # Additional support for poorly written HTML
24     - Microsoft Word HTML cleaning (i.e. MsoNormal, but research essential!)
25     - Friendly strict handling of <address> (block -> <br>)
26  - Remove redundant tags, ex. <u><u>Underlined</u></u>. Implementation notes:
27     1. Analyzing which tags to remove duplicants
28     2. Ensure attributes are merged into the parent tag
29     3. Extend the tag exclusion system to specify whether or not the
30     contents should be dropped or not (currently, there's code that could do
31     something like this if it didn't drop the inner text too.)
32  - Remove <span> tags that don't do anything (no attributes)
33  - Remove empty inline tags<i></i>
34  - Append something to duplicate IDs so they're still usable (impl. note: the
35    dupe detector would also need to detect the suffix as well)
37 2.4 release [It's All About Trust] (floating)
38  # Implement untrusted, dangerous elements/attributes
40 3.0 release [Beyond HTML]
41  # Legit token based CSS parsing (will require revamping almost every
42    AttrDef class)
43  # More control over allowed CSS properties (maybe modularize it in the
44    same fashion!)
45  # Formatters for plaintext
46     - Smileys
47  - Standardize token armor for all areas of processing
48  - Fixes for Firefox's inability to handle COL alignment props (Bug 915)
49  - Automatically add non-breaking spaces to empty table cells when
50    empty-cells:show is applied to have compatibility with Internet Explorer
51  - Convert RTL/LTR override characters to <bdo> tags, or vice versa on demand.
52    Also, enable disabling of directionality
54 4.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     - WordPress (mostly written, needs beta-testing)
64     - phpBB
65     - Phorum
66     - eFiction
67     - more! (look for ones that use WYSIWYGs)
68  - Complete basic smoketests
70 Unknown release (on a scratch-an-itch basis)
71  ? Semi-lossy dumb alternate character encoding transfor
72  ? Have 'lang' attribute be checked against official lists, achieved by
73    encoding all characters that have string entity equivalents
74  - Explain how to use HTML Purifier in non-PHP languages / create
75    a simple command line stub
76  - Abstract ChildDef_BlockQuote to work with all elements that only
77    allow blocks in them, required or optional
78  - Reorganize Unit Tests
79     - Refactor loop tests (esp. AttrDef_URI)
80  - Reorganize configuration directives (Create more namespaces! Get messy!)
82 Requested
84 Wontfix
85  - Non-lossy smart alternate character encoding transformations (unless
86    patch provided)
87  - Pretty-printing HTML, users can use Tidy on the output on entire page
88  - Native content compression, whitespace stripping (don't rely on Tidy, make
89    sure we don't remove from <pre> or related tags): use gzip if this is
90    really important