Improved HTML formatting with WYSIWYG editor