mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed a typo.
This commit is contained in:
parent
57d439e2d4
commit
e2252bf977
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue