Generation of htmlized text failed