Ticket #2246: textile-utf-8.diff
File textile-utf-8.diff, 645 bytes (added by , 18 years ago) |
---|
-
django/contrib/markup/templatetags/markup.py
27 27 raise template.TemplateSyntaxError, "Error in {% textile %} filter: The Python textile library isn't installed." 28 28 return value 29 29 else: 30 return textile.textile(value) 31 30 return textile.textile(value, encoding=settings.DEFAULT_CHARSET, output=settings.DEFAULT_CHARSET) 32 31 def markdown(value): 33 32 try: 34 33 import markdown