jarontai / html2md

A library for converting HTML to Markdown in Dart. It supports CommonMark, simple table and custom converting rules. 将html转换为markdown的Dart库,支持CommonMark、简单表格以及自定义转换规则。
https://pub.dev/packages/html2md
BSD 2-Clause "Simplified" License
57 stars 25 forks source link

Exception with blockquote #6

Closed tsdevelopment closed 6 years ago

tsdevelopment commented 6 years ago

Whenever I use the blockquote tag I get an exception:

Another exception was thrown: 'package:flutter/src/widgets/container.dart': Failed assertion: line 59 pos 15: 'decoration != null': is not true.

Example code: String markdown = html2md.convert('<blockquote>Lorem ipsum...</blockquote>');

jarontai commented 6 years ago

String markdown = html2md.convert('<blockquote>Lorem ipsum...</blockquote>');

I can run the example code on my machine. I think the exception was thrown by your flutter code.