lib/rouge/lexers/elm.rb in rouge-3.5.1 vs lib/rouge/lexers/elm.rb in rouge-3.6.0
- old
+ new
@@ -48,10 +48,10 @@
# Not standard Elm operators, but these symbols can be used for custom inflix operators. We need to highlight them as operators as well.
rule %r/[@\#$&~?]/, Operator
# Single, double quotes, and triple double quotes
rule %r/"""/, Str, :multiline_string
- rule %r/'(\\.|.)'/, Str::Char
+ rule %r/'(\\.|.)'/, Str::Char
rule %r/"/, Str, :double_quote
# Numbers
rule %r/0x[\da-f]+/i, Num::Hex
rule %r/\d+e[+-]?\d+/i, Num::Float