Fixes issue #4

Updated cleanHtml() to toggle the html "pre" output, that was introduced previously, before outputting the HTML to the browser. This means that you can now export HTML using cleanHtml() while the code window is open and it will work!

Updated html-editor example to use the command.