Skip to content

Highlight Auto breaking on multiple periods #1505

@geekgonecrazy

Description

@geekgonecrazy

Running across an odd issue.

If we do: highlightjs.highlightAuto('I ..'); the browser tab completely locks up. We're on the latest version of highlightjs 9.11.0

https://runkit.com/590140aeafa0170012b6169c/590141941ce99600127a433b

A single period seems to work fine. But multiple breaks and if no space before it it also works fine.

Also oddly seems to be a single char space and then multiple periods. If you do multiple letters first its a no go.

<letter>+<space>+..

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