diff --git a/deploy.py b/deploy.py index 9fcefbb..d3dd4dc 100644 --- a/deploy.py +++ b/deploy.py @@ -15,7 +15,7 @@ chdir('html') for f in [i for i in listdir() if i.endswith('.html')]: # 1. Minify the index.html file using minify-html - minified_content = minify_html.minify(open(f, 'r').read(), minify_css=True, minify_doctype=False) + minified_content = minify_html.minify(open(f, 'r').read(), minify_css=True, do_not_minify_doctype=True) # 2. Upload the file to an FTP server diff --git a/requirements.txt b/requirements.txt index 6bd459d..de724f3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ requests -minify-html \ No newline at end of file +minify-html==0.15.0 \ No newline at end of file