Make TinyMCE more tolerant about HTML elements

STUD-1565