avoid html if global_format not html
Merge commit 'github/testing' into beta