Skip to content

rst mode: assertion error in rst-role handling... #2805

@maxodoble

Description

@maxodoble

the role handling in rst mode crashes codemirror (assertion error undefined).

just try to enter something like "bla bla :math: bla bla" in codemirror when rst mode is active.

  • codemirror stops working, right after you enter the second ":"

opening a file, when a rst role is slightly wrong typed or has a mistyped character (see "x"), crashes codemirror.

example:
:ref:xparameterstudy

or try to copy/paste the above string into the editor: codemirror crashes.

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