Basic HTML Escaping in 'plain' Mode.

This PR adds simplified HTML escaping to ensure that code snippets are displayed correctly in the browser.