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
This commit is contained in:
Malcolm Tredinnick 2008-07-26 03:08:53 +00:00
parent f8713ee243
commit 4ec2b8904b
1 changed files with 4 additions and 4 deletions

View File

@ -1550,7 +1550,7 @@ For example::
{{ value|linebreaks }} {{ 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>``. slug</p>``.
linebreaksbr linebreaksbr
@ -1592,9 +1592,9 @@ For example::
{{ value|make_list }} {{ value|make_list }}
If ``value`` is the string ``"Joe"``, the output would be the list If ``value`` is the string ``"Joel"``, the output would be the list
``[u'J', u'o', u'e']``. If ``value`` is ``123``, the output will be the list ``[u'J', u'o', u'e', u'l']``. If ``value`` is ``123``, the output will be the
``[1, 2, 3]``. list ``[1, 2, 3]``.
phone2numeric phone2numeric
~~~~~~~~~~~~~ ~~~~~~~~~~~~~