Fix previews for snippets with HTML/newlines in them.
Make snippet editor a little prettier.