Remove html_minify from due to a bs4 bug
Minor code improvements
Generate SVG with jinja2 (not Flask)
Tests improvements