Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark more special HTML in templates as safe #1936

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

haxtibal
Copy link
Contributor

There were some occurrences of " " in Python statements within Jinja2 templates. They must be marked as safe, otherwise they would be rendered to literal   by auto escaping.

This happened in diff screen for any text node, and sections with LEVEL: None, as well as in TOCs for sections with LEVEL: None.

Relates to #1920.

There were some occurrences of " " in Python statements within
Jinja2 templates. They must be marked as safe, otherwise they would be
rendered to literal   by auto escaping.

This happened in diff screen for any text node, and sections with
LEVEL: None, as well as in TOCs for sections with LEVEL: None.

Relates to strictdoc-project#1920.
@stanislaw
Copy link
Collaborator

Thanks!

@stanislaw stanislaw merged commit 49d3165 into strictdoc-project:main Aug 16, 2024
23 checks passed
@stanislaw stanislaw added this to the 2024-Q3 milestone Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants