If template is set to none, set html to false. #1810
Move html content type to the constructor(). #1810