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