Skip to content

Flutter_markdown throws assertion for footnotes with latest markdown #127425

@Cellaryllis

Description

@Cellaryllis

Hello,

I updated our project to 3.10 and noticed that some of our tests failed which I tracked down to some specific syntax that we have in some test widgets to test markdown. Namely the following:

Footnote 1 link[^first].
[^first]: Footnote **can have markup**

Now I am quite certain that footnotes aren't supported, but at least there shouldn't be an assertion. Full markdown source is here: https://sarveshh.github.io/markdownerr/

image
image

I looked to see if this was elsewhere reported but I couldn't find it, if it was already reported please close this one :)

Steps to reproduce:

Create a widget and add:

MarkdownBody(
        data: text,
);

Text being the above text or a copy paste from the URL referenced.

Thanks for any input you can have on this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: error messageError messages from the Flutter frameworkc: crashStack traces logged to the consolefound in release: 3.10Found to occur in 3.10found in release: 3.11Found to occur in 3.11has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: flutter_markdownflutter/packages flutter_markdownpackageflutter/packages repository. See also p: labels.r: invalidIssue is closed as not validteam-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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy