summaryrefslogtreecommitdiff
path: root/django/utils
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils')
-rw-r--r--django/utils/jslex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/utils/jslex.py b/django/utils/jslex.py
index c17d751faa..f042d2e5ee 100644
--- a/django/utils/jslex.py
+++ b/django/utils/jslex.py
@@ -145,12 +145,12 @@ class JsLexer(Lexer):
states = {
'div': # slash will mean division
both_before + [
- Tok("punct", literals("/= /"), next='reg'),
+ Tok("punct", literals("/= /"), next='reg'),
] + both_after,
'reg': # slash will mean regex
both_before + [
- Tok("regex",
+ Tok("regex",
r"""
/ # opening slash
# First character is..