Skip to content

Commit 8ea133b

Browse files
committed
Release version 2.2.0
1 parent d47cc47 commit 8ea133b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,6 @@ TODO
7171
- [x] Test cases
7272
- [x] Route (or URL rule) exemption
7373
- [x] Caching (in progress)
74-
- [In progress] Minify inline CSS
74+
- [x] Minify inline CSS
7575
- [ ] Minify inline Javascript
7676
- [ ] Type hints

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
setup(
1616
name='Flask-HTMLmin',
17-
version='2.1.0',
17+
version='2.2.0',
1818
url='https://github.com/hamidfzm/Flask-HTMLmin',
1919
license='BSD-3-Clause',
2020
author='Hamid FzM',

test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
app = Flask(__name__)
99
app.config['TESTING'] = True
10-
app.config['MINIFY_PAGE'] = True
10+
app.config['MINIFY_HTML'] = True
1111
htmlmin = HTMLMIN(app=app)
1212

1313
json_resp = dict(
@@ -53,7 +53,6 @@ def client():
5353
def test_html_minify(client):
5454
""" testing HTML minified response """
5555
resp = client.get('/').data
56-
print(resp)
5756
assert b'<html> <style>.h{width:3em}</style><body>\
5857
<h1 style="width:3em"> HTML </h1> </body> </html>' == resp
5958

0 commit comments

Comments
 (0)