diff --git a/lib/linguist/blob_helper.rb b/lib/linguist/blob_helper.rb index 47fcc7ca..089a9381 100644 --- a/lib/linguist/blob_helper.rb +++ b/lib/linguist/blob_helper.rb @@ -266,7 +266,7 @@ module Linguist # # Returns true or false def generated_net_docfile? - return false unless extname == ".xml" + return false unless extname.downcase == ".xml" return false unless lines.count > 3 # .NET Docfiles always open with and their first tag is an