Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #2246 -- Changed textile templatetag in contrib.markup to use D…

…EFAULT_CHARSET setting

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5d7af7b1a9a62cf2d98f8dd8bb6f8ce49b886316 1 parent 4856296
Adrian Holovaty authored June 28, 2006
2  django/contrib/markup/templatetags/markup.py
@@ -27,7 +27,7 @@ def textile(value):
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)
  30
+        return textile.textile(value, encoding=settings.DEFAULT_CHARSET, output=settings.DEFAULT_CHARSET)
31 31
 
32 32
 def markdown(value):
33 33
     try:

0 notes on commit 5d7af7b

Please sign in to comment.
Something went wrong with that request. Please try again.