template html is now valid html