Kaydet (Commit) 4832c004 authored tarafından Luke Plant's avatar Luke Plant

Direct readers to format_html() in mark_safe() docs.

üst 67bcae1e
......@@ -831,6 +831,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> '
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment