diff options
| author | Florian Apolloner <florian@apolloner.eu> | 2013-01-24 11:58:06 +0100 |
|---|---|---|
| committer | Florian Apolloner <florian@apolloner.eu> | 2013-01-24 11:58:06 +0100 |
| commit | e2252bf9772bdcc699e4cb8ff1eb4672965bda29 (patch) | |
| tree | f16892592758906b44a653498a33e9e6bc2dde32 /docs | |
| parent | 57d439e2d4b1b22289cd9a16bac3324ce13a8e13 (diff) | |
Fixed a typo.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/utils.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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} <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 |
