mirror of
https://github.com/flutter/packages.git
synced 2025-07-02 16:39:13 +08:00
[flutter_markdown] remove print statements when not handling alignment (#2499)
This commit is contained in:

committed by
GitHub

parent
483df53734
commit
6d2f192631
@ -1,3 +1,8 @@
|
|||||||
|
## 0.6.10+6
|
||||||
|
|
||||||
|
* Removes print logged when not handling hr for alignment.
|
||||||
|
* Removes print logged when not handling li for alignment.
|
||||||
|
|
||||||
## 0.6.10+5
|
## 0.6.10+5
|
||||||
|
|
||||||
* Fixes lint warnings.
|
* Fixes lint warnings.
|
||||||
|
@ -758,14 +758,8 @@ class MarkdownBuilder implements md.NodeVisitor {
|
|||||||
case 'pre':
|
case 'pre':
|
||||||
return styleSheet.codeblockAlign;
|
return styleSheet.codeblockAlign;
|
||||||
case 'hr':
|
case 'hr':
|
||||||
// TODO(goderbauer): We shouldn't be printing here, https://github.com/flutter/flutter/issues/110209
|
|
||||||
// ignore: avoid_print
|
|
||||||
print('Markdown did not handle hr for alignment');
|
|
||||||
break;
|
break;
|
||||||
case 'li':
|
case 'li':
|
||||||
// TODO(goderbauer): We shouldn't be printing here, https://github.com/flutter/flutter/issues/110209
|
|
||||||
// ignore: avoid_print
|
|
||||||
print('Markdown did not handle li for alignment');
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return WrapAlignment.start;
|
return WrapAlignment.start;
|
||||||
|
@ -4,7 +4,7 @@ description: A Markdown renderer for Flutter. Create rich text output,
|
|||||||
formatted with simple Markdown tags.
|
formatted with simple Markdown tags.
|
||||||
repository: https://github.com/flutter/packages/tree/main/packages/flutter_markdown
|
repository: https://github.com/flutter/packages/tree/main/packages/flutter_markdown
|
||||||
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_markdown%22
|
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_markdown%22
|
||||||
version: 0.6.10+5
|
version: 0.6.10+6
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.12.0 <3.0.0"
|
sdk: ">=2.12.0 <3.0.0"
|
||||||
|
Reference in New Issue
Block a user