Fixed error with xhtml-templates