This HTML TO XML PARSER/CONVERTER TOOL will help you to convert or parse your HTML, JavaScript/JQuery Code to Blogger XML compatible code. This tool prevents compiling code when you try to use as preformatted code.

It also prevents the following error:

org.xml.sax.SAXParseException; lineNumber: 3190; columnNumber: 2; The entity name must immediately follow the '&' in the entity reference.