Skip to content

MIME lexer text analyser error #1692

@gandarez

Description

@gandarez

Writting some tests here for pygments I just realized that analyse_text for MIMELexer has been throwing an error for the example giving. It throws the error here.

AttributeError
'list' object has no attribute 'sub'

Here is the gist for test_mime.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions