[1.2.0] Unit test housekeeping:
[htmlpurifier.git] / TODO
blobb24b62928c7757b6eca5d91a309522459557bf18
2 TODO List
4 1.2 release
5  - Make URI validation routines tighter (especially mailto)
6  - More extensive URI filtering schemes (see URI in config-ideas.txt)
7  - Allow for background-image and list-style-image (see above)
8  - Distinguish between different types of URIs, for instance, a mailto URI
9    in IMG SRC is nonsensical
10  - Error logging for filtering/cleanup procedures
12 1.3 release
13  - Add various "levels" of cleaning
14     - Related: Allow strict (X)HTML
15  - More fine-grained control over escaping behavior
16     - Silently drop content inbetween SCRIPT tags (can be generalized to allow
17       specification of elements that, when detected as foreign, trigger removal
18       of children, although unbalanced tags could wreck havoc (or at least
19       delete the rest of the document)).
21 1.4 release
22  - Additional support for poorly written HTML
23     - Implement all non-essential attribute transforms
24     - Microsoft Word HTML cleaning (i.e. MsoNormal)
26 2.0 release
27  - Formatters for plaintext
28     - Auto-paragraphing (be sure to leverage fact that we know when things
29       shouldn't be paragraphed, such as lists and tables).
30     - Linkify URLs
31     - Smileys
32     - Linkification for HTML Purifier docs: notably configuration and
33       class names
35 3.0 release
36  - Extended HTML capabilities based on namespacing and tag transforms
37     - Hooks for adding custom processors to custom namespaced tags and
38       attributes, offer default implementation
39     - Lots of documentation and samples
41 Ongoing
42  - Lots of profiling, make it faster!
43  - Plugins for major CMSes (very tricky issue)
45 Unknown release (on a scratch-an-itch basis)
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 Encoding workarounds
53  - Non-lossy dumb alternate character encoding transformations, achieved by
54    numerically encoding all non-ASCII characters
55  - Semi-lossy dumb alternate character encoding transformations, achieved by
56    encoding all characters that have string entity equivalents
58 Requested
59  - Native content compression, whitespace stripping (don't rely on Tidy, make
60    sure we don't remove from <pre> or related tags)
61  - Win32 Phalanger C# binaries (?)
62  - Remove redundant tags, ex. <u><u>Underlined</u></u>. Implementation notes:
63     1. Analyzing which tags to remove duplicants
64     2. Ensure attributes are merged into the parent tag
65     3. Extend the tag exclusion system to specify whether or not the
66     contents should be dropped or not (currently, there's code that could do
67     something like this if it didn't drop the inner text too.)
69 Wontfix
70  - Non-lossy smart alternate character encoding transformations (unless
71    patch provided)
72  - Pretty-printing HTML, users can use Tidy on the output on entire page