You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
40 lines
1.1 KiB
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
|
|
|