summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-07-26 03:08:53 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-07-26 03:08:53 +0000
commit4ec2b8904bdaec4b757c7e6822fd170be87f5493 (patch)
tree517e23861009f54abbd42b65b822fb51e9e96169
parentf8713ee243d364c5afaf496caed24df90e82dd00 (diff)
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
-rw-r--r--docs/templates.txt8
1 files 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 ``<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
~~~~~~~~~~~~~