Skip to content

Commit a4d32db

Browse files
committed
Merge branch 'jeffmikels' of github.com:jeffmikels/flutter_html into jeffmikels
2 parents 1ead9ca + 5a26bc7 commit a4d32db

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [0.8.2] - November 1, 2018:
2+
3+
* Removes debug prints.
4+
15
## [0.8.1] - October 19, 2018:
26

37
* Adds `typedef` for `onLinkTap` function.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A Flutter widget for rendering static html tags as Flutter widgets. (Will render
88
Add the following to your `pubspec.yaml` file:
99

1010
dependencies:
11-
flutter_html: ^0.8.1
11+
flutter_html: ^0.8.2
1212

1313
## Currently Supported HTML Tags:
1414
`a`, `abbr`, `acronym`, `address`, `article`, `aside`, `b`, `bdi`, `bdo`, `big`, `blockquote`, `body`, `br`, `caption`, `cite`, `code`, `data`, `dd`, `del`, `dfn`, `div`, `dl`, `dt`, `em`, `figcaption`, `figure`, `footer`, `h1`, `h2`, `h3`, `h4`, `h5`, `h6`, `header`, `hr`, `i`, `img`, `ins`, `kbd`, `li`, `main`, `mark`, `nav`, `noscript`, `ol`, `p`, `pre`, `q`, `rp`, `rt`, `ruby`, `s`, `samp`, `section`, `small`, `span`, `strike`, `strong`, `table`, `tbody`, `td`, `template`, `tfoot`, `th`, `thead`, `time`, `tr`, `tt`, `u`, `ul`, `var`

lib/html_parser.dart

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -896,11 +896,6 @@ class HtmlOldParser extends StatelessWidget {
896896
}
897897

898898
if (node is dom.Element) {
899-
assert(() {
900-
// debugPrint("Found ${node.localName}");
901-
return true;
902-
}());
903-
904899
if (!_supportedElements.contains(node.localName)) {
905900
return Container();
906901
}
@@ -1532,7 +1527,6 @@ class HtmlOldParser extends StatelessWidget {
15321527
node.text = " ";
15331528
}
15341529

1535-
// debugPrint("Plain Text Node: '${trimStringHtml(node.text)}'");
15361530
String finalText = trimStringHtml(node.text);
15371531
//Temp fix for https://github.com/flutter/flutter/issues/736
15381532
if (finalText.endsWith(" ")) {

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_html
22
description: A Flutter widget for rendering static html tags as Flutter widgets. (Will render over 70 different html tags!)
3-
version: 0.8.1
3+
version: 0.8.2
44
author: Matthew Whitaker <sub6resources@gmail.com>
55
homepage: https://github.com/Sub6Resources/flutter_html
66

0 commit comments

Comments
 (0)