Skip to content

Malformed rules cause poor highlighting on GitHub.com #21

@maxbrunsfeld

Description

@maxbrunsfeld

These two rules contain a patterns property, but no end property:

These rules are not valid, because they cause the highlighter to push a new rule onto its stack which can never be popped off.

GitHub's engine used to allow this, but now it does not. See also textmate/textmate#1437.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions