Finish up with a few more files that didn't get updated. Hrmm..
[htmlpurifier.git] / TODO
blob632273eb74d937d0253aa007a6705154531b41d4
1 TODO List
3 = KEY ====================
4     # Flagship
5     - Regular
6     ? Maybe I'll Do It
7 ==========================
9 2.1 release [Refactor, refactor!]
18  # URI validation routines tighter (see docs/dev-code-quality.html) (COMPLEX)
19  # Advanced URI filtering schemes (see docs/proposal-new-directives.txt)
20  - Configuration profiles: predefined directives set with one func call
21  - Implement IDREF support (harder than it seems, since you cannot have
22    IDREFs to non-existent IDs)
23  - Allow non-ASCII characters in font names
24  - Genericize special cases in RemoveForeignElements
26 2.2 release [Error'ed]
27  # Error logging for filtering/cleanup procedures
28     - Requires I18N facilities to be created first (COMPLEX)
29  - XSS-attempt detection
30  - More fine-grained control over escaping behavior
36 2.3 release [Do What I Mean, Not What I Say]
37  # Additional support for poorly written HTML
38     - Microsoft Word HTML cleaning (i.e. MsoNormal, but research essential!)
39     - Friendly strict handling of <address> (block -> <br>)
40  - Remove redundant tags, ex. <u><u>Underlined</u></u>. Implementation notes:
41     1. Analyzing which tags to remove duplicants
42     2. Ensure attributes are merged into the parent tag
43     3. Extend the tag exclusion system to specify whether or not the
44     contents should be dropped or not (currently, there's code that could do
45     something like this if it didn't drop the inner text too.)
46  - Remove <span> tags that don't do anything (no attributes)
47  - Remove empty inline tags<i></i>
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)
51 2.4 release [It's All About Trust] (floating)
52  # Implement untrusted, dangerous elements/attributes
54 3.0 release [Beyond HTML]
55  # Legit token based CSS parsing (will require revamping almost every
56    AttrDef class)
57  # More control over allowed CSS properties (maybe modularize it in the
58    same fashion!)
59  # Formatters for plaintext (COMPLEX)
60     - Auto-paragraphing (be sure to leverage fact that we know when things
61       shouldn't be paragraphed, such as lists and tables).
62     - Linkify URLs
63     - Smileys
64     - Linkification for HTML Purifier docs: notably configuration and classes
65  - Allow tags to be "armored", an internal flag that protects them
66    from validation and passes them out unharmed
67  - Fixes for Firefox's inability to handle COL alignment props (Bug 915)
68  - Automatically add non-breaking spaces to empty table cells when
69    empty-cells:show is applied to have compatibility with Internet Explorer
70  - Convert RTL/LTR override characters to <bdo> tags, or vice versa on demand.
71    Also, enable disabling of directionality
73 4.0 release [To XML and Beyond]
74  - Extended HTML capabilities based on namespacing and tag transforms (COMPLEX)
75     - Hooks for adding custom processors to custom namespaced tags and
76       attributes, offer default implementation
77     - Lots of documentation and samples
78  - XHTML 1.1 support
80 Ongoing
81  - Lots of profiling, make it faster!
82  - Plugins for major CMSes (COMPLEX)
83     - WordPress (mostly written, needs beta-testing)
84     - eFiction
85     - more! (look for ones that use WYSIWYGs)
86  - Complete basic smoketests
88 Unknown release (on a scratch-an-itch basis)
89  ? Semi-lossy dumb alternate character encoding transfor
90  ? Have 'lang' attribute be checked against official lists, achieved by
91    encoding all characters that have string entity equivalents
92  - Explain how to use HTML Purifier in non-PHP languages
93  - Abstract ChildDef_BlockQuote to work with all elements that only
94    allow blocks in them, required or optional
95  - Reorganize Unit Tests
96     - Refactor loop tests (esp. AttrDef_URI)
97  - Reorganize configuration directives (Create more namespaces! Get messy!)
99 Requested
100  ? Native content compression, whitespace stripping (don't rely on Tidy, make
101    sure we don't remove from <pre> or related tags)
103 Wontfix
104  - Non-lossy smart alternate character encoding transformations (unless
105    patch provided)
106  - Pretty-printing HTML, users can use Tidy on the output on entire page