Commit b9101fa7 authored by Luke Plant's avatar Luke Plant
Browse files

[1.6.x] Direct readers to format_html() in mark_safe() docs.

Backport of 4832c004 from master
parent 79df62f4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -804,6 +804,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>   '