Security feature: any HTML tags inside the SML are disabled by default.

This can be counteracted by calling setDisableHtml(false) before calling setSml().