Mercurial > libervia-templates
view sat_templates/templates/bulma/_browser/__init__.py @ 363:cddac8502c4b
chat/message: fix urlize escaping on nunjucks:
Nunjucks imply to use `safe` when using `urlize`, while Jinja2 doesn't. Esacaping and safe
filter are added so that `urlize` can work with both engines.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 28 Jun 2023 10:40:53 +0200 |
parents | 0e69b5843c2f |
children |
line wrap: on
line source
from browser import bind, document @bind("#main_menu_burger", "click") def burger_click(ev): document["main_menu"].classList.toggle('is-active') document["main_menu_burger"].classList.toggle('is-active')