<human>:  How to apply django/jinja2 template filters 'escape' and 'linebreaks' correctly?
<bot>: 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.