pub fn default_auto_escape_callback(name: &str) -> AutoEscape
The default logic for auto escaping based on file extension.
Html
.html
.htm
.xml
None
Additionally .j2 as final extension is ignored. So .html.j2 is the considered the same as .html.
.j2
.html.j2