@crusty I suspect this to be a regression in Go; could you create a GitHub issue with a small example?
As a side tip: If you fully trust your HTML templates, you can redefine the HTML output format and set isPlainText = true
which will use the much leaner text template parser.