contentToHtml(): unknown mode: ''