Which template feature protects against cross-site scripting?
- A Automatic escaping of variables
- B The load tag
- C Template inheritance
- D The include tag
Answer
Automatic escaping of variables
Django autoescapes variables in templates. Using the safe filter or mark_safe on untrusted content disables that protection.





