Closed ThinkDigitalSoftware closed 4 years ago
Thank you for the report! This problem should caused by the wrong replacement of thead and tbody.
Version 0.5.1 published. I add a test for your table source and fix the thead/tbody problem.
That was quick, thank you!
On Thu, Nov 14, 2019, 7:27 AM Jaron Tai notifications@github.com wrote:
Version 0.5.1 published. I add a test for your table source and fix the thead/tbody problem.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jarontai/html2md/issues/14?email_source=notifications&email_token=AFPYO7MT4DULFPGUPP5LFFDQTVU5JA5CNFSM4JM75LHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEECGXKA#issuecomment-553937832, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPYO7PWCCW5FPSWILTYCW3QTVU5JANCNFSM4JM75LHA .
This is slightly complex, but I've narrowed it down to this package. I'm using this lib to convert html to markdown and then render it in Flutter. The original Markdown source is here. https://github.com/flutterchina/dio/blob/master/README.md for comparison. This is the actual HTML page that's being passed to html2md https://pub.dev/packages/dio You can see the table in the screenshot
But when it's rendered, it shows like this.
To make a long story short, the table should be rendered like this, https://github.com/flutterchina/dio/blob/master/README.md
Copy of markdown rendered by html2md