Add install script for PEAR installs.
[htmlpurifier/bfroehle.git] / TODO
blob7e333707a301c7b7d761010722d76af834360006
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 2.2 release [Error'ed]
15  # Error logging for filtering/cleanup procedures
16  - XSS-attempt detection
18 2.3 release [Do What I Mean, Not What I Say]
19  # Additional support for poorly written HTML
20     - Microsoft Word HTML cleaning (i.e. MsoNormal, but research essential!)
21     - Friendly strict handling of <address> (block -> <br>)
22  - Remove redundant tags, ex. <u><u>Underlined</u></u>. Implementation notes:
23     1. Analyzing which tags to remove duplicants
24     2. Ensure attributes are merged into the parent tag
25     3. Extend the tag exclusion system to specify whether or not the
26     contents should be dropped or not (currently, there's code that could do
27     something like this if it didn't drop the inner text too.)
28  - Remove <span> tags that don't do anything (no attributes)
29  - Remove empty inline tags<i></i>
30  - Append something to duplicate IDs so they're still usable (impl. note: the
31    dupe detector would also need to detect the suffix as well)
33 2.4 release [It's All About Trust] (floating)
34  # Implement untrusted, dangerous elements/attributes
35  # Implement IDREF support (harder than it seems, since you cannot have
36    IDREFs to non-existent IDs)
38 3.0 release [Beyond HTML]
39  # Legit token based CSS parsing (will require revamping almost every
40    AttrDef class)
41  # More control over allowed CSS properties (maybe modularize it in the
42    same fashion!)
43  # Formatters for plaintext
44     - Smileys
45  - Standardize token armor for all areas of processing
46  - Fixes for Firefox's inability to handle COL alignment props (Bug 915)
47  - Automatically add non-breaking spaces to empty table cells when
48    empty-cells:show is applied to have compatibility with Internet Explorer
49  - Convert RTL/LTR override characters to <bdo> tags, or vice versa on demand.
50    Also, enable disabling of directionality
52 4.0 release [To XML and Beyond]
53  - Extended HTML capabilities based on namespacing and tag transforms (COMPLEX)
54     - Hooks for adding custom processors to custom namespaced tags and
55       attributes, offer default implementation
56     - Lots of documentation and samples
58 Ongoing
59  - Lots of profiling, make it faster!
60  - Plugins for major CMSes (COMPLEX)
61     - phpBB
62     - eFiction
63     - more! (look for ones that use WYSIWYGs)
64  - Complete basic smoketests
66 Unknown release (on a scratch-an-itch basis)
67  # CHMOD install script for PEAR installs
68  ? Semi-lossy dumb alternate character encoding transfor
69  ? Have 'lang' attribute be checked against official lists, achieved by
70    encoding all characters that have string entity equivalents
71  - Abstract ChildDef_BlockQuote to work with all elements that only
72    allow blocks in them, required or optional
73  - Reorganize Unit Tests
74     - Refactor loop tests: Lexer
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?)
81 Requested
83 Wontfix
84  - Non-lossy smart alternate character encoding transformations (unless
85    patch provided)
86  - Pretty-printing HTML, users can use Tidy on the output on entire page
87  - Native content compression, whitespace stripping (don't rely on Tidy, make
88    sure we don't remove from <pre> or related tags): use gzip if this is
89    really important