Have tests also check for test-settings in conf file, this allows for configuration...
[htmlpurifier/rdancer.git] / TODO
blob6a50b8c2a95ccd27b0fed3edd9deb1e05e64ce56
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)
32  - Externalize inline CSS to promote clean HTML
34 2.4 release [It's All About Trust] (floating)
35  # Implement untrusted, dangerous elements/attributes
36  # Implement IDREF support (harder than it seems, since you cannot have
37    IDREFs to non-existent IDs)
38  # Frameset XHTML 1.0 and HTML 4.01 doctypes
40 3.0 release [Beyond HTML]
41  # Legit token based CSS parsing (will require revamping almost every
42    AttrDef class). Probably will use CSSTidy 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  - 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  # CHMOD install script for PEAR installs
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  - Reorganize configuration directives (Create more namespaces! Get messy!)
73  - Advanced URI filtering schemes (see docs/proposal-new-directives.txt)
74  - Implement lenient <ruby> child validation
75  - Explain how to use HTML Purifier in non-PHP languages / create
76    a simple command line stub (or complicated?)
77  - Fixes for Firefox's inability to handle COL alignment props (Bug 915)
78  - Automatically add non-breaking spaces to empty table cells when
79    empty-cells:show is applied to have compatibility with Internet Explorer
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