Human: How to apply django/jinja2 template filters 'escape' and 'linebreaks' correctly? Assistant: 
Here is some code to apply jinja2 filters `forceescape` and `linebreaks` on variable `my_variable`

{{my_variable | forceescape | linebreaks}}

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.