Skip to content

Commit cfa20eb

Browse files
committed
readme: fix formatting
1 parent c673e1f commit cfa20eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,12 @@ For more information on URL path templates in aiohttp, see https://docs.aiohttp.
147147
### Escaping
148148
HTML-escaping is performed on all values automatically.
149149
To prevent a value from being escaped, use the `safe` filter: `{{ foo | safe }}`
150+
150151
Refer to the Jinja2 docs for more information on autoescaping: https://jinja.palletsprojects.com/en/stable/templates/#working-with-automatic-escaping
151152

152153
> [!WARNING]
153154
> While HTML is escaped automatically, markdown is not. It needs to be escaped manually via the `escape_md` filter: `{{ foo | escape_md }}`
155+
>
154156
> This behavior will eventually change when Jinja2 allows custom autoescape functions (see [#13](https://github.com/jkhsjdhjs/maubot-webhook/issues/13) for more information).
155157
156158

0 commit comments

Comments
 (0)