Encoded HTML snippets - HTML Formatting issues