HTML Editor fixes