Skip to content

Commit

Permalink
Release version 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidfzm committed Oct 18, 2021
1 parent d47cc47 commit 8ea133b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ TODO
- [x] Test cases
- [x] Route (or URL rule) exemption
- [x] Caching (in progress)
- [In progress] Minify inline CSS
- [x] Minify inline CSS
- [ ] Minify inline Javascript
- [ ] Type hints
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

setup(
name='Flask-HTMLmin',
version='2.1.0',
version='2.2.0',
url='https://github.com/hamidfzm/Flask-HTMLmin',
license='BSD-3-Clause',
author='Hamid FzM',
Expand Down
3 changes: 1 addition & 2 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

app = Flask(__name__)
app.config['TESTING'] = True
app.config['MINIFY_PAGE'] = True
app.config['MINIFY_HTML'] = True
htmlmin = HTMLMIN(app=app)

json_resp = dict(
Expand Down Expand Up @@ -53,7 +53,6 @@ def client():
def test_html_minify(client):
""" testing HTML minified response """
resp = client.get('/').data
print(resp)
assert b'<html> <style>.h{width:3em}</style><body>\
<h1 style="width:3em"> HTML </h1> </body> </html>' == resp

Expand Down

0 comments on commit 8ea133b

Please sign in to comment.