From 4ec2b8904bdaec4b757c7e6822fd170be87f5493 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sat, 26 Jul 2008 03:08:53 +0000 Subject: [PATCH] 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 --- docs/templates.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/templates.txt b/docs/templates.txt index a7f6a8389b..d3ec139f06 100644 --- a/docs/templates.txt +++ b/docs/templates.txt @@ -1550,7 +1550,7 @@ For example:: {{ value|linebreaks }} -If ``value`` is ``Joel\nis a slug``, the output will be ``

Joe
is a +If ``value`` is ``Joel\nis a slug``, the output will be ``

Joel
is a slug

``. 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 ~~~~~~~~~~~~~