Skip to content

Commit 6b6ea88

Browse files
committed
Version 0.8.1
1 parent 3c3230c commit 6b6ea88

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
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.1] - October 19, 2018:
2+
3+
* Adds `typedef` for `onLinkTap` function.
4+
15
## [0.8.0] - October 18, 2018:
26

37
* Adds custom tag callback

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.0
11+
flutter_html: ^0.8.1
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 & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,7 @@ class HtmlParser {
9898
List<Widget> widgetList = new List<Widget>();
9999

100100
if (renderNewlines) {
101-
assert(() {
102-
debugPrint("Before: $data");
103-
return true;
104-
}());
105101
data = data.replaceAll("\n", "<br />");
106-
assert(() {
107-
debugPrint("After: $data");
108-
}());
109102
}
110103
dom.Document document = parser.parse(data);
111104
widgetList.add(_parseNode(document.body));

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.0
3+
version: 0.8.1
44
author: Matthew Whitaker <sub6resources@gmail.com>
55
homepage: https://github.com/Sub6Resources/flutter_html
66

0 commit comments

Comments
 (0)