Ticket #8088: cat_filter.diff
File cat_filter.diff, 717 bytes (added by , 16 years ago) |
---|
-
django/template/defaultfilters.py
62 62 capfirst.is_safe=True 63 63 capfirst = stringfilter(capfirst) 64 64 65 def cat(value, arg): 66 """ 67 Concatenates value with argument 68 """ 69 return u"%s%s" % (value, force_unicode(arg)) 70 cat.is_safe=True 71 cat = stringfilter(cat) 72 73 65 74 _js_escapes = ( 66 75 ('\\', '\\\\'), 67 76 ('"', '\\"'), … … 797 806 register.filter(add) 798 807 register.filter(addslashes) 799 808 register.filter(capfirst) 809 register.filter(cat) 800 810 register.filter(center) 801 811 register.filter(cut) 802 812 register.filter(date)