Skip to content

Commit 5a26bc7

Browse files
Merge branch 'master' into jeffmikels
2 parents dc92077 + 4b8b108 commit 5a26bc7

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
@@ -870,11 +870,6 @@ class HtmlOldParser extends StatelessWidget {
870870
}
871871

872872
if (node is dom.Element) {
873-
assert(() {
874-
// debugPrint("Found ${node.localName}");
875-
return true;
876-
}());
877-
878873
if (!_supportedElements.contains(node.localName)) {
879874
return Container();
880875
}
@@ -1506,7 +1501,6 @@ class HtmlOldParser extends StatelessWidget {
15061501
node.text = " ";
15071502
}
15081503

1509-
// debugPrint("Plain Text Node: '${trimStringHtml(node.text)}'");
15101504
String finalText = trimStringHtml(node.text);
15111505
//Temp fix for https://github.com/flutter/flutter/issues/736
15121506
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)