Add indents to html templates
Remove trailing a tag