New course! Every coder should learn Generative AI!
Try a free lesson+ 4
TheĀ safeĀ filter explicitly marks a string as "safe", i.e., it should not be automatically-escaped if auto-escaping is enabled.
The documentation on this filter isĀ https://jinja.palletsprojects.com/en/2.10.x/templates/#working-with-automatic-escaping.
See the section on https://jinja.palletsprojects.com/en/2.10.x/templates/#working-with-manual-escaping
Ā to see which characters qualify for escaping.