From 471c12b7dc65aef83ed5e9d7623b2e95c68cf392 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 20 Apr 2014 20:34:08 -0400 Subject: sneak_peek.py: surround default style with quotes Now that we require quotes around the style argument, add quotes to the default style. --- sneak_peek_tag/templatetags/sneak_peek.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sneak_peek_tag') diff --git a/sneak_peek_tag/templatetags/sneak_peek.py b/sneak_peek_tag/templatetags/sneak_peek.py index 4b771f4..a8b9a3e 100644 --- a/sneak_peek_tag/templatetags/sneak_peek.py +++ b/sneak_peek_tag/templatetags/sneak_peek.py @@ -5,7 +5,7 @@ register = Library() @register.tag(name="sneak_peek") def sneak_peek(parser, token): tag = None - style = 'default' + style = '"default"' try: tag, style = token.split_contents() except ValueError: -- cgit v1.2.3