Support strings > 64kb in templates

Fixes #1755
Correct typo.
Merge pull request #1755 from jroper/1755-template-64k-strings

Split large strings in templates
Merge pull request #2195 from schleichardt/patch-1

Correct typo.