fix to be able to supply HTML string as data