8000 fix typo in var name · trilogyinteractive/coderay@1e8f0e6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1e8f0e6

Browse files
committed
fix typo in var name
1 parent 253fca4 commit 1e8f0e6

File tree

1 file chang 8000 ed

+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
@@ -52,7 +52,7 @@ def scan_directive(encoder, options, match)
5252
state = :liquid
5353
scan_spaces(encoder)
5454
#This regex doesn't work and I don't know why
55-
if match = scan(/#{DIRECTIVES_KEYWORDS}/)
55+
if match = scan(/#{DIRECTIVE_KEYWORDS}/)
5656
encoder.text_token match, :directive
5757
scan_spaces(encoder)
5858
if match =~ /if/

0 commit comments

Comments
 (0)
0