I don't think `mark_safe` does anything for Jinja templates. This seems to be working though, so it must not be necessary. If you do need to mark a string as safe, you have to use:

```python
from jinja2 import Markup

safe_str = Markup('<h1>HTML is super great</h1>')
```