Skip to content

Commit

Permalink
Update jinja2: 2.11.3 -> 3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sei40kr committed Nov 18, 2024
1 parent f3c8423 commit fdb7ae4
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 65 deletions.
3 changes: 2 additions & 1 deletion atcodertools/codegen/template_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ def old_render(template, **kwargs):

def render_by_jinja(template, **kwargs):
return Environment(trim_blocks=True,
lstrip_blocks=True).from_string(template).render(**kwargs) + "\n"
lstrip_blocks=True,
autoescape=False).from_string(template).render(**kwargs) + "\n"


def estimate_indent(code):
Expand Down
Loading

0 comments on commit fdb7ae4

Please sign in to comment.