[2.1.0] Implement Ruby.
[htmlpurifier.git] / TODO
blob6cc9f89511b5d77f8a9266b18997422d8a48597a
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.1 release [Refactor, refactor!]
15  - Configuration profiles: predefined directives set with one func call
16  - Allow non-ASCII characters in font names
17  - Explain how to use HTML Purifier in non-PHP languages / create
18    a simple command line stub
20 2.2 release [Error'ed]
21  # Error logging for filtering/cleanup procedures
22  - XSS-attempt detection
24 2.3 release [Do What I Mean, Not What I Say]
25  # Additional support for poorly written HTML
26     - Microsoft Word HTML cleaning (i.e. MsoNormal, but research essential!)
27     - Friendly strict handling of <address> (block -> <br>)
28  - Remove redundant tags, ex. <u><u>Underlined</u></u>. Implementation notes:
29     1. Analyzing which tags to remove duplicants
30     2. Ensure attributes are merged into the parent tag
31     3. Extend the tag exclusion system to specify whether or not the
32     contents should be dropped or not (currently, there's code that could do
33     something like this if it didn't drop the inner text too.)
34  - Remove <span> tags that don't do anything (no attributes)
35  - Remove empty inline tags<i></i>
36  - Append something to duplicate IDs so they're still usable (impl. note: the
37    dupe detector would also need to detect the suffix as well)
39 2.4 release [It's All About Trust] (floating)
40  # Implement untrusted, dangerous elements/attributes
41  # Implement IDREF support (harder than it seems, since you cannot have
42    IDREFs to non-existent IDs)
44 3.0 release [Beyond HTML]
45  # Legit token based CSS parsing (will require revamping almost every
46    AttrDef class)
47  # More control over allowed CSS properties (maybe modularize it in the
48    same fashion!)
49  # Formatters for plaintext
50     - Smileys
51  - Standardize token armor for all areas of processing
52  - Fixes for Firefox's inability to handle COL alignment props (Bug 915)
53  - Automatically add non-breaking spaces to empty table cells when
54    empty-cells:show is applied to have compatibility with Internet Explorer
55  - Convert RTL/LTR override characters to <bdo> tags, or vice versa on demand.
56    Also, enable disabling of directionality
58 4.0 release [To XML and Beyond]
59  - Extended HTML capabilities based on namespacing and tag transforms (COMPLEX)
60     - Hooks for adding custom processors to custom namespaced tags and
61       attributes, offer default implementation
62     - Lots of documentation and samples
64 Ongoing
65  - Lots of profiling, make it faster!
66  - Plugins for major CMSes (COMPLEX)
67     - phpBB
68     - eFiction
69     - more! (look for ones that use WYSIWYGs)
70  - Complete basic smoketests
72 Unknown release (on a scratch-an-itch basis)
73  ? Semi-lossy dumb alternate character encoding transfor
74  ? Have 'lang' attribute be checked against official lists, achieved by
75    encoding all characters that have string entity equivalents
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: Lexer
80  - Reorganize configuration directives (Create more namespaces! Get messy!)
81  - Advanced URI filtering schemes (see docs/proposal-new-directives.txt)
82  - Implement lenient <ruby> child validation
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