Add more TODO items:
[htmlpurifier.git] / TODO
blob8e9e1c9018c7dcd77a20c6ee4778e959c9f96aa6
2 TODO List
4 1.3 release
5  - Enable strict-compliant (X)HTML output
6     - Requires to some extent 2.0 formatters to save elements in blockquote
7  - Make URI validation routines tighter (especially mailto)
8  - More extensive URI filtering schemes (see docs/proposal-new-directives.txt)
9  - Allow for background-image and list-style-image (see above)
10  - Error logging for filtering/cleanup procedures
11  - Rich set* methods and config file loaders for HTMLPurifier_Config
13 1.4 release
14  - Add various "levels" of cleaning
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.5 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
51  - Append something to duplicate IDs so they're still usable (impl. note: the
52    dupe detector would also need to detect the suffix as well)
53  - Have 'lang' attribute be checked against official lists
54  - Info on how to embed YouTube videos (and related content) without patches
56 Encoding workarounds
57  - Non-lossy dumb alternate character encoding transformations, achieved by
58    numerically encoding all non-ASCII characters
59  - Semi-lossy dumb alternate character encoding transformations, achieved by
60    encoding all characters that have string entity equivalents
62 Requested
63  - Native content compression, whitespace stripping (don't rely on Tidy, make
64    sure we don't remove from <pre> or related tags)
65  - Win32 Phalanger C# binaries (?)
66  - Remove redundant tags, ex. <u><u>Underlined</u></u>. Implementation notes:
67     1. Analyzing which tags to remove duplicants
68     2. Ensure attributes are merged into the parent tag
69     3. Extend the tag exclusion system to specify whether or not the
70     contents should be dropped or not (currently, there's code that could do
71     something like this if it didn't drop the inner text too.)
73 Wontfix
74  - Non-lossy smart alternate character encoding transformations (unless
75    patch provided)
76  - Pretty-printing HTML, users can use Tidy on the output on entire page