-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Closed as not planned
Closed as not planned
Copy link
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectfound in release: 2.2Found to occur in 2.2Found to occur in 2.2found in release: 2.6Found to occur in 2.6Found to occur in 2.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: flutter_markdownflutter/packages flutter_markdownflutter/packages flutter_markdownpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem teamTriaged by Ecosystem team
Description
Describe the bug
NOTE: This is a bug in the parsing of the Markdown tags by the markdown package
. See dart-lang/tools#1279.
The markdown package incorrectly parses Markdown strikethrough tags that are combined with other emphasis tags and the order of the tags changes. This seems to only happen when the inline Markdown tags are in the same text block.
How to reproduce
The following Markdown text:
**~~first~~** ~~**second**~~
Should produce:
first second
But the actual output is:
first ~~second~~
Additional context
This behavior happens with both bold and italic emphasis.
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectfound in release: 2.2Found to occur in 2.2Found to occur in 2.2found in release: 2.6Found to occur in 2.6Found to occur in 2.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: flutter_markdownflutter/packages flutter_markdownflutter/packages flutter_markdownpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem teamTriaged by Ecosystem team