fix(templateRequest): allow empty html template

allow empty html template and not throw error

Closes #9581