Bugfix for html editor

Thanks to @wangqiang1208 for spotting the bug!

The bug was that only sub/sup/iframe tags work. bold italics etc tags are cleaned from the code.
Mixed double and single quotes.<br>['sub'] is better written in dot notation.