Option for prettifying html while toggling codeview

`dom.html` and `dom.value` were called when toggling codeview/wysiwyg.
However, it does not work well as expected. It makes lots of blank lines, breaks intended indents, so on.
But I leave `prettifyHtml` as true by default for backward compatibility.