Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Add HTML autoescape#292

Merged
pantor merged 5 commits intopantor:mainfromberthubert:main
Oct 5, 2024
Merged

Add HTML autoescape#292

pantor merged 5 commits intopantor:mainfromberthubert:main
Oct 5, 2024

Conversation

berthubert
Copy link
Contributor

Since (j)inja templates are often used for creating HTML, it might be useful for inja to have a feature that does this. It is pretty inconvenient to manually have to escape all JSON strings. This PR adds a one stop set_html_autoescape feature that will HTML escape all strings for you. This is only available through an Environment.

@pantorpantor merged commit807620c intopantor:mainOct 5, 2024
14 of 15 checks passed
@pantor
Copy link
Owner

Great, thank you so much!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@berthubert@pantor

[8]ページ先頭

©2009-2025 Movatter.jp