Refactorized use of always html flag