lib/linguist/heuristics.rb in github-linguist-5.0.4 vs lib/linguist/heuristics.rb in github-linguist-5.0.5
- old
+ new
@@ -258,10 +258,10 @@
Language["Limbo"]
end
end
disambiguate ".md" do |data|
- if /(^[-a-z0-9=#!\*\[|])|<\//i.match(data) || data.empty?
+ if /(^[-a-z0-9=#!\*\[|>])|<\//i.match(data) || data.empty?
Language["Markdown"]
elsif /^(;;|\(define_)/.match(data)
Language["GCC machine description"]
end
end