Commit b236a558 authored by Claude Paroz's avatar Claude Paroz
Browse files

[1.7.x] Fixed #22773 -- Forced templatize() to return unicode

Backport of daaeb841 from master.
parent 7d388956
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -544,7 +544,7 @@ def templatize(src, origin=None):
    from django.template import (Lexer, TOKEN_TEXT, TOKEN_VAR, TOKEN_BLOCK,
            TOKEN_COMMENT, TRANSLATOR_COMMENT_MARK)
    src = force_text(src, settings.FILE_CHARSET)
    out = StringIO()
    out = StringIO('')
    message_context = None
    intrans = False
    inplural = False
+0 −0

Empty file added.