Skip to content

Commit e25be32

Browse files
committed
fix flask ci error
1 parent 4611600 commit e25be32

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

webpack_boilerplate/contrib/jinja2ext.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import jinja2.ext
2+
from markupsafe import Markup
23

34
from .. import utils
45

@@ -15,7 +16,7 @@ def stylesheet_pack(*names, **kwargs):
1516
for sub_tag in sub_tags:
1617
if sub_tag not in tags:
1718
tags.append(sub_tag)
18-
return jinja2.Markup("\n".join(tags))
19+
return Markup("\n".join(tags))
1920

2021

2122
def javascript_pack(*names, **kwargs):
@@ -30,7 +31,7 @@ def javascript_pack(*names, **kwargs):
3031
for sub_tag in sub_tags:
3132
if sub_tag not in tags:
3233
tags.append(sub_tag)
33-
return jinja2.Markup("\n".join(tags))
34+
return Markup("\n".join(tags))
3435

3536

3637
class WebpackExtension(jinja2.ext.Extension):

0 commit comments

Comments
 (0)