#4123: firstof template tag doesn't accept strings with spaces
--------------------------------------------------+-------------------------
Reporter: Wesley Fok <[EMAIL PROTECTED]> | Owner: adrian
Status: new | Component: Template
system
Version: SVN | Keywords:
Stage: Unreviewed | Has_patch: 0
--------------------------------------------------+-------------------------
When firstof is passed a quoted string with a space, ex. {% firstof var1
var2 var3 "fallback string" %}, it splits the string and reads the pieces
as False. If the string is the last element in the firstof tag, then the
whole thing returns False and firstof returns a blank string.
--
Ticket URL: <http://code.djangoproject.com/ticket/4123>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---