lib/rouge/lexers/xml.rb in rouge-2.0.7 vs lib/rouge/lexers/xml.rb in rouge-2.1.0
- old
+ new
@@ -50,10 +50,10 @@
rule %r(/?\s*>), Name::Tag, :pop!
end
state :attr do
rule /\s+/m, Text
- rule /".*?"|'.*?'|[^\s>]+/, Str, :pop!
+ rule /".*?"|'.*?'|[^\s>]+/m, Str, :pop!
end
end
end
end