lib/rouge/lexers/liquid.rb in rouge-2.1.0 vs lib/rouge/lexers/liquid.rb in rouge-2.1.1
- old
+ new
@@ -103,11 +103,11 @@
end
state :filters do
mixin :whitespace
- rule (/\}\}/) { token Punctuation; reset_stack }
+ rule(/\}\}/) { token Punctuation; reset_stack }
rule /([^\s\|:]+)(:?)(\s*)/ do
groups Name::Function, Punctuation, Text::Whitespace
push :filter_markup
end
@@ -154,14 +154,14 @@
pop!
end
end
state :end_of_tag do
- rule (/\}\}/) { token Punctuation; reset_stack }
+ rule(/\}\}/) { token Punctuation; reset_stack }
end
state :end_of_block do
- rule (/%\}/) { token Punctuation; reset_stack }
+ rule(/%\}/) { token Punctuation; reset_stack }
end
# states for unknown markup
state :param_markup do
mixin :whitespace