You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not exactly intended behavior, though I think it is expected behavior. Because of the lack of specialization in Rust, fixing this problem isn't trivial.
When rendering templates in templates like https://github.com/djc/askama/blob/main/book/src/template_syntax.md#templates-in-templates, the inner templates needs to be rendered without escaping; otherwise the Html of the inner template is printed literally.
If that that's the intended behavior, feel free to close this issue.
Otherwise, the tests in https://github.com/djc/askama/blob/main/testing/tests/render_in_place.rs should include Html tags to not miss that in the future. In the mean time, a workaround is to disable escaping manually:
The text was updated successfully, but these errors were encountered: