Added basic HTML minifier for templates