diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index de805173d7..20192ed006 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -529,7 +529,7 @@ escaping HTML. .. code-block:: python - format_html(u"%{0} {1} {2}", + format_html(u"{0} {1} {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