Ticket #2208: filter-arg-emptystring.diff
File filter-arg-emptystring.diff, 678 bytes (added by , 18 years ago) |
---|
-
django/template/__init__.py
531 531 constant_arg, i18n_arg, var_arg = match.group("constant_arg", "i18n_arg", "var_arg") 532 532 if i18n_arg: 533 533 args.append((False, _(i18n_arg.replace(r'\"', '"')))) 534 elif constant_arg :534 elif constant_arg or constant_arg != None: 535 535 args.append((False, constant_arg.replace(r'\"', '"'))) 536 536 elif var_arg: 537 537 args.append((True, var_arg))