Skip to content

Commit 633a2ab

Browse files
committed
Version 0.3.1
1 parent 0a858db commit 633a2ab

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [0.3.1] - August 15, 2018:
2+
3+
* Fixed issue where `p` was not rendered with the `defaultTextStyle`.
4+
15
## [0.3.0] - August 15, 2018:
26

37
* Adds support for `abbr`, `address`, `article`, `aside`, `blockquote`, `br`, `cite`, `code`, `data`, `dd`,

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A Flutter widget for rendering static html tags as Flutter widgets.
77
Add the following to your `pubspec.yaml` file:
88

99
dependencies:
10-
flutter_html: ^0.3.0
10+
flutter_html: ^0.3.1
1111

1212
## Currently Supported HTML Tags:
1313

@@ -59,7 +59,7 @@ Add the following to your `pubspec.yaml` file:
5959
* `samp`
6060
* `section`
6161
* `small`
62-
* `span`,
62+
* `span`
6363
* `strong`
6464
* `template`
6565
* `time`

lib/html_parser.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ class HtmlParser {
430430
return RichText(
431431
text: TextSpan(
432432
children: _parseInlineElement(node),
433+
style: defaultTextStyle,
433434
));
434435
case "pre":
435436
return Padding(

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

0 commit comments

Comments
 (0)