Minify HTML dynamically.