fixing display of html in captions