Skip to content

Commit

Permalink
Merge branch 'master' into jeffmikels
Browse files Browse the repository at this point in the history
  • Loading branch information
Sub6Resources authored Feb 1, 2019
2 parents dc92077 + 4b8b108 commit 5a26bc7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.8.2] - November 1, 2018:

* Removes debug prints.

## [0.8.1] - October 19, 2018:

* Adds `typedef` for `onLinkTap` function.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A Flutter widget for rendering static html tags as Flutter widgets. (Will render
Add the following to your `pubspec.yaml` file:

dependencies:
flutter_html: ^0.8.1
flutter_html: ^0.8.2

## Currently Supported HTML Tags:
`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`
Expand Down
6 changes: 0 additions & 6 deletions lib/html_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -870,11 +870,6 @@ class HtmlOldParser extends StatelessWidget {
}

if (node is dom.Element) {
assert(() {
// debugPrint("Found ${node.localName}");
return true;
}());

if (!_supportedElements.contains(node.localName)) {
return Container();
}
Expand Down Expand Up @@ -1506,7 +1501,6 @@ class HtmlOldParser extends StatelessWidget {
node.text = " ";
}

// debugPrint("Plain Text Node: '${trimStringHtml(node.text)}'");
String finalText = trimStringHtml(node.text);
//Temp fix for https://github.com/flutter/flutter/issues/736
if (finalText.endsWith(" ")) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_html
description: A Flutter widget for rendering static html tags as Flutter widgets. (Will render over 70 different html tags!)
version: 0.8.1
version: 0.8.2
author: Matthew Whitaker <sub6resources@gmail.com>
homepage: https://github.com/Sub6Resources/flutter_html

Expand Down

0 comments on commit 5a26bc7

Please sign in to comment.