Commits

Georg Brandl committed a197033

Closes #737: CSharpASP: remove unconditional 0.001 from analyse_text

  • Participants
  • Parent commits b9e563d

Comments (0)

Files changed (1)

File pygments/lexers/dotnet.py

         ]
     }
 
+
 class GenericAspxLexer(RegexLexer):
     """
     Lexer for ASP.NET pages.
         ],
     }
 
+
 #TODO support multiple languages within the same source file
 class CSharpAspxLexer(DelegatingLexer):
     """
             return 0.2
         elif re.search(r'script[^>]+language=["\']C#', text, re.I) is not None:
             return 0.15
-        return 0.001 # TODO really only for when filename matched...
+
 
 class VbNetAspxLexer(DelegatingLexer):
     """