Commit 4ec2b890 authored by Malcolm Tredinnick's avatar Malcolm Tredinnick
Browse files

Fixed #7948 -- Fixed a typo in the linebreaks filter documentation, pointed out

by Joel Kitching.

While I was in the neighbourhood, made one other example a little more
consistent.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent f8713ee2
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1550,7 +1550,7 @@ For example::

    {{ value|linebreaks }}

If ``value`` is ``Joel\nis a slug``, the output will be ``<p>Joe<br>is a
If ``value`` is ``Joel\nis a slug``, the output will be ``<p>Joel<br>is a
slug</p>``.

linebreaksbr
@@ -1592,9 +1592,9 @@ For example::

    {{ value|make_list }}

If ``value`` is the string ``"Joe"``, the output would be the list
``[u'J', u'o', u'e']``. If ``value`` is ``123``, the output will be the list
``[1, 2, 3]``.
If ``value`` is the string ``"Joel"``, the output would be the list
``[u'J', u'o', u'e', u'l']``. If ``value`` is ``123``, the output will be the
list ``[1, 2, 3]``.

phone2numeric
~~~~~~~~~~~~~