From 2ccbaba1f26ae262b301aa9ae1d41efed2f6aee9 Mon Sep 17 00:00:00 2001 From: Florian Apolloner Date: Tue, 14 Oct 2014 21:55:54 +0200 Subject: Added unicode_literals to the jslexer. This ensure that ''.join(c) in jslex.py always returns text. --- django/utils/jslex.py | 1 + 1 file changed, 1 insertion(+) (limited to 'django/utils') diff --git a/django/utils/jslex.py b/django/utils/jslex.py index e54d021bbe..35bdc57e1a 100644 --- a/django/utils/jslex.py +++ b/django/utils/jslex.py @@ -1,5 +1,6 @@ """JsLex: a lexer for Javascript""" # Originally from https://bitbucket.org/ned/jslex +from __future__ import unicode_literals import re -- cgit v1.3