liquid-tag-parser 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/liquid/tag/parser.rb +1 -1
- data/lib/liquid/tag/parser/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51563ccd0c4f4f8c022aa6392a201389c364eb82
|
4
|
+
data.tar.gz: 7e3f5ee49c47a1d7038f835bcb32ec2bad602866
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e063f8c1e61e9d5356f6c6cd767bdbf3478d2eb91b46a62d69753f0043ce78ecff64aab1ea6a13a87c1ac9e32d8f8aaf75ec1efbe55e0eb3a553572031edd906
|
7
|
+
data.tar.gz: ae792e917f095da39fd014927027d725eb5f9518777674bda9b035b43b66a2c4b9fb8355ef615c5064554d992c1106e943b810dd55da7ac6673671f6362432d9
|
data/lib/liquid/tag/parser.rb
CHANGED
@@ -31,7 +31,7 @@ module Liquid
|
|
31
31
|
NEGATIVE_BOOLEAN = /^(?<!\\)\!/
|
32
32
|
BOOLEAN_QUOTE_REPLACEMENT = "\\1\\\\\\2"
|
33
33
|
SHELLSPLIT = /\G\s*(?>([^\s\\\'\"]+)|'([^\']*)'|"((?:[^\"\\]|\\.)*)"|(\\.?)|(\S))(\s|\z)?/m
|
34
|
-
BOOLEAN_QUOTE =
|
34
|
+
BOOLEAN_QUOTE = /('|")((?<!\\)@|(?<!\\)\!)/
|
35
35
|
POSITIVE_BOOLEAN = /^(?<!\\)\@/
|
36
36
|
ESCAPED_BOOLEAN = /\\(@|\!)/
|
37
37
|
KEY = /\b(?<!\\):/
|