[1.1.X] Fixed #12981 -- Removed some stray tabs. Thanks to loewis for the report.
Backport of the applicable part of r12614 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
499c715513
commit
aa8a98564c
@ -422,7 +422,7 @@ class TokenParser(object):
|
||||
i += 1
|
||||
if i >= len(subject):
|
||||
raise TemplateSyntaxError("Searching for value. Unexpected end of string in column %d: %s" % (i, subject))
|
||||
i += 1
|
||||
i += 1
|
||||
return i
|
||||
|
||||
if i >= len(subject):
|
||||
@ -811,7 +811,7 @@ class TextNode(Node):
|
||||
|
||||
def render(self, context):
|
||||
return self.s
|
||||
|
||||
|
||||
def _render_value_in_context(value, context):
|
||||
"""
|
||||
Converts any value to a string to become part of a rendered template. This
|
||||
|
Loading…
x
Reference in New Issue
Block a user