lib/rouge/guessers/disambiguation.rb in rouge-3.10.0 vs lib/rouge/guessers/disambiguation.rb in rouge-3.11.0

- old
+ new

@@ -124,8 +124,13 @@ disambiguate 'Messages' do next MsgTrans if matches?(/^[^\s:]+:[^\s:]+/) next PlainText end + + disambiguate '*.cls' do + next TeX if matches?(/\A\s*(?:\\|%)/) + next Apex + end end end end