lib/rouge/lexers/python.rb in rouge-0.2.11 vs lib/rouge/lexers/python.rb in rouge-0.2.12

- old
+ new

@@ -187,16 +187,17 @@ mixin :strings_single end state :tdqs do rule /"""/, 'Literal.String', :pop! + rule /"/, 'Literal.String' mixin :strings_double mixin :nl end state :tsqs do rule /'''/, 'Literal.String', :pop! - rule /[^\\'%\n]+/, 'Literal.String' + rule /'/, 'Literal.String' mixin :strings_single mixin :nl end %w(tdqs tsqs dqs sqs).each do |qtype|