jquery.indentxml A plugin to indent well-formed, HTML-encoded XML code. Perfect to mix with google-code-prettify for XML code! Example $.indentxml("<a>\n<b/>\n</a>"); outputs: <a> <b/> </a>