lib/rouge/lexers/liquid.rb in rouge-3.13.0 vs lib/rouge/lexers/liquid.rb in rouge-3.14.0
- old
+ new
@@ -264,10 +264,10 @@
groups Punctuation, Text::Whitespace
push :output_embed
end
rule %r/(with|for)\b/, Name::Tag
- rule %r/[^\s\.]+(\.[^\s\.]+)+\b/, Name::Other
+ rule %r/[\/\w-]+(\.[\w-]+)+\b/, Text
mixin :variable_tag_markup
end
state :output_embed do