summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/utils.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index 4f338be06b..f2baaddbf4 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -762,6 +762,9 @@ appropriate entities.
Can be called multiple times on a single string.
+ For building up fragments of HTML, you should normally be using
+ :func:`django.utils.html.format_html` instead.
+
String marked safe will become unsafe again if modified. For example::
>>> mystr = '<b>Hello World</b> '