add newline before each author in html5 backend
chomp trailing endline in output from custom templates