mirror of
https://github.com/django/django.git
synced 2025-04-03 13:06:49 +00:00
Fixed a typo.
This commit is contained in:
parent
57d439e2d4
commit
e2252bf977
@ -529,7 +529,7 @@ escaping HTML.
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
format_html(u"%{0} <b>{1}</b> {2}",
|
||||
format_html(u"{0} <b>{1}</b> {2}",
|
||||
mark_safe(some_html), some_text, some_other_text)
|
||||
|
||||
This has the advantage that you don't need to apply :func:`escape` to each
|
||||
|
Loading…
x
Reference in New Issue
Block a user