Skip to content

Commit

Permalink
Merge pull request #280 from greyli/fix-escape
Browse files Browse the repository at this point in the history
Fix escape import and update jsmin version
  • Loading branch information
greyli authored Feb 20, 2024
2 parents 2912e4c + d4cd7ba commit 6574226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demos/http/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
except ImportError:
from urllib.parse import urlparse, urljoin

from jinja2 import escape
from markupsafe import escape
from jinja2.utils import generate_lorem_ipsum
from flask import Flask, make_response, request, redirect, url_for, abort, session, jsonify

Expand Down
2 changes: 1 addition & 1 deletion requirements/v1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ flask-wtf==0.14.3
flask==1.1.2
itsdangerous==1.1.0
jinja2==2.11.1
jsmin==2.2.2
jsmin==3.0.1
mako==1.1.2
markupsafe==1.1.1
python-dateutil==2.8.1
Expand Down

0 comments on commit 6574226

Please sign in to comment.