We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 376884d commit 415498eCopy full SHA for 415498e
lib/coderay/scanners/ruby.rb
@@ -214,7 +214,7 @@ def scan_tokens encoder, options
214
encoder.end_group kind
215
heredocs ||= [] # create heredocs if empty
216
heredocs << self.class::StringState.new(kind, quote != "'", delim,
217
- self[1] == '-' ? :indented : :linestart)
+ self[1] ? :indented : :linestart)
218
value_expected = false
219
220
elsif value_expected && match = scan(/#{patterns::FANCY_STRING_START}/o)
0 commit comments