mirror of
https://github.com/django/django.git
synced 2025-10-26 23:26:08 +00:00
Fixed #22773 -- Forced templatize() to return unicode
This commit is contained in:
@@ -530,7 +530,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
tests/i18n/commands/templates/empty.html
Normal file
0
tests/i18n/commands/templates/empty.html
Normal file
Reference in New Issue
Block a user