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