Skip to content

Commit bcf4634

Browse files
author
CatHood0
committed
Fix: missed version update
1 parent 1e4c687 commit bcf4634

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ Then, import the package and use it in your Flutter application:
7373
import 'package:flutter_quill_delta_from_html/flutter_quill_delta_from_html.dart';
7474

7575
void main() {
76-
String htmlContent = "<p>Hello, <b>world</b>!</p>";
76+
String htmlContent = '<p style="line-height: 2.0">Hello, <b>world</b>!</p>';
7777
var delta = HtmlToDelta().convert(htmlContent, transformTableAsEmbed: false);
7878
/*
7979
{ "insert": "hello, " },
8080
{ "insert": "world", "attributes": {"bold": true} },
8181
{ "insert": "!" },
82-
{ "insert": "\n" }
82+
{ "insert": "\n", { 'line-height': 2.0 } }
8383
*/
8484
}
8585
```

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_quill_delta_from_html
22
description: "Convert easily HTML inputs content to Quill Js Delta format"
3-
version: 1.5.2
3+
version: 1.5.3
44
homepage: https://github.com/CatHood0/flutter_quill_delta_from_html
55
repository: https://github.com/CatHood0/flutter_quill_delta_from_html
66
issue_tracker: https://github.com/CatHood0/flutter_quill_delta_from_html/issues

0 commit comments

Comments
 (0)