avoid html if global_format not html