Skip to content

[Bug] Regular expressions are not consistent with the state machine of commonmarkjs. #2090

@siyou

Description

@siyou

Initial checklist

  • I agree to follow the code of conduct
  • I searched issues and discussions and couldn’t find anything (or linked relevant results below)

Affected packages and versions

latest

Link to runnable example

No response

Steps to reproduce

commonmark

Expected behavior

In **test.**a, when the closing symbol(**) is manually entered at the latest, test. should not be rendered in bold.

Actual behavior

test. be rendered in bold.

Runtime

No response

OS

No response

Build and bundle tools

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions