-
Notifications
You must be signed in to change notification settings - Fork 4
/
TODO
40 lines (25 loc) · 1.04 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
kses TODO
=========
* create a nice homepage with interactive kses testing
* remove stuff in between <script>..</script> and <style>..</style>
* better fix for chr(173) bug and try to allow for "style:" where people
want to use it
* XHTML tags of the style <br/> instead of <br />
This is related to a small bug with <a href="blah />
Solution: rewrite parser.
(* rewrite document to XHTML or HTML)
* more attribute value checks
* more types of hooks
* return array of removed elements and attributes
* give the option of turning unacceptable elements to entities instead of
removing them (and turn unacceptable attributes to their own tag, which is
then turned to entities?) .. perhaps turn to comments as well?
* ">" in HTML tags
<img src="blah.gif" alt="x > 5">
Not very important, but..
(* make document well-formed.. there is HTML Tidy, but perhaps we want this
functionality in kses itself?)
* port to other programming languages to achieve world domination
* lots of testing
* write better documentation
* feedback from users