To be consistent, either the output of this function should always be of type `template.HTML` or never.