only escape html characters when rendering inline text (presumably inside a paragraph)