Skip to content

Commit 581c52d

Browse files
committed
fix preposition scanning
1 parent 523fb63 commit 581c52d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/coderay/scanners/liquid.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def scan_directive(encoder, options, match)
7878
if match = scan(/#{DIRECTIVE_KEYWORDS}/)
7979
encoder.text_token match, :directive
8080
scan_spaces(encoder)
81-
if match =~ /if|assign|assignlist/
81+
if match =~ /if|assign|assignlist|for|list/
8282
scan_selector(encoder, options, match)
8383
if match = scan(/\w+\.?\w*/)
8484
encoder.text_token match, :variable

0 commit comments

Comments
 (0)