Skip to content

long data URI of font face in style tag cause browser freezing #252

@examan

Description

@examan

If style element contains long data URI, Autolinker will freeze at matcherRegex.exec.

@font-face { font-family: 'Work Sans'; src: local('Work Sans'), local('WorkSans-Regular'), url(data:font/woff;base64,............................................................); }

Style element should be skipped parsing to prevent this issue.

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