KISSY Html Beautifier
<div id="name"> <style type='text/css'>body{color:red};</style> <script type='text/javascript'>alert('</body>');</script> <div> <a href="http://docs.kissyui.com"><div> test <span> test2 </span> test3 </div></a> </div> <p> <textarea><div>in textarea</div></textarea> </p> <p> <input type='text' value='xx' /> </p> </div>
fix html by xhtml dtd :
auto paragraph in root:
beautify