Content-Length: 323544 | pFad | http://github.com/flutter/flutter/issues/81735

82 Bug: Strikethrough Tags Not Correctly Rendered When Mixed with Emphasis and Order Changes · Issue #81735 · flutter/flutter · GitHub
Skip to content

Bug: Strikethrough Tags Not Correctly Rendered When Mixed with Emphasis and Order Changes #81735

@mjordan56

Description

@mjordan56

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

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectfound in release: 2.2Found to occur in 2.2found in release: 2.6Found to occur in 2.6has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: flutter_markdownflutter/packages flutter_markdownpackageflutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/flutter/flutter/issues/81735

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy