- “id” and “name” attributes added to dangerous attributes list, because malefactor can broke legal javascript by spoofing ID or NAME of some element.
- New method parse() allows to do all parsing process in two lines of code. Examples also updated.
- New array, closeParagraph, contains list of block-level elements. When we open such elemet, we should close paragraph before.. It allows SafeHTML to produce more XHTML compliant code.
- Added “webcal” to white list of protocols for those who uses calendar programs (Mozilla/iCal/etc).
- Now SafeHTML strips down table elements when we are not inside table.
- Now SafeHTML correctly closes unclosed “li” tags: before opening “li” of the same nesting level.
Also, project moved to Pixel-Apes project site.
New address is
http://pixel-apes.com/safehtml
New RSS feed address is:
http://pixel-apes.com/safehtml/feed/rss