Skip to content

Commit 51d7e9a

Browse files
committed
updated dependencies
1 parent 628b28c commit 51d7e9a

File tree

7 files changed

+95
-102
lines changed

7 files changed

+95
-102
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# [2.0.0+2] - May 11th, 2020
1+
# [2.0.0+3] - Oct 20th, 2020
2+
3+
* Updated dependencies
4+
5+
## [2.0.0+2] - May 11th, 2020
26

37
* Fixed an issue with non self closing `<br>` tag
48
* Improved `<h1>-<h6>` sizing

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@
241241
/* Begin XCBuildConfiguration section */
242242
249021D3217E4FDB00AE95B9 /* Profile */ = {
243243
isa = XCBuildConfiguration;
244-
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
245244
buildSettings = {
246245
ALWAYS_SEARCH_USER_PATHS = NO;
247246
CLANG_ANALYZER_NONNULL = YES;
@@ -318,7 +317,6 @@
318317
};
319318
97C147031CF9000F007C117D /* Debug */ = {
320319
isa = XCBuildConfiguration;
321-
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
322320
buildSettings = {
323321
ALWAYS_SEARCH_USER_PATHS = NO;
324322
CLANG_ANALYZER_NONNULL = YES;
@@ -374,7 +372,6 @@
374372
};
375373
97C147041CF9000F007C117D /* Release */ = {
376374
isa = XCBuildConfiguration;
377-
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
378375
buildSettings = {
379376
ALWAYS_SEARCH_USER_PATHS = NO;
380377
CLANG_ANALYZER_NONNULL = YES;

example/pubspec.lock

Lines changed: 33 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,69 @@
11
# Generated by pub
22
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages:
4-
archive:
5-
dependency: transitive
6-
description:
7-
name: archive
8-
url: "https://pub.dartlang.org"
9-
source: hosted
10-
version: "2.0.13"
11-
args:
12-
dependency: transitive
13-
description:
14-
name: args
15-
url: "https://pub.dartlang.org"
16-
source: hosted
17-
version: "1.6.0"
184
async:
195
dependency: transitive
206
description:
217
name: async
228
url: "https://pub.dartlang.org"
239
source: hosted
24-
version: "2.4.1"
10+
version: "2.4.2"
2511
boolean_selector:
2612
dependency: transitive
2713
description:
2814
name: boolean_selector
2915
url: "https://pub.dartlang.org"
3016
source: hosted
3117
version: "2.0.0"
18+
characters:
19+
dependency: transitive
20+
description:
21+
name: characters
22+
url: "https://pub.dartlang.org"
23+
source: hosted
24+
version: "1.0.0"
3225
charcode:
3326
dependency: transitive
3427
description:
3528
name: charcode
3629
url: "https://pub.dartlang.org"
3730
source: hosted
3831
version: "1.1.3"
32+
clock:
33+
dependency: transitive
34+
description:
35+
name: clock
36+
url: "https://pub.dartlang.org"
37+
source: hosted
38+
version: "1.0.1"
3939
collection:
4040
dependency: transitive
4141
description:
4242
name: collection
4343
url: "https://pub.dartlang.org"
4444
source: hosted
45-
version: "1.14.12"
45+
version: "1.14.13"
4646
convert:
4747
dependency: transitive
4848
description:
4949
name: convert
5050
url: "https://pub.dartlang.org"
5151
source: hosted
5252
version: "2.1.1"
53-
crypto:
54-
dependency: transitive
55-
description:
56-
name: crypto
57-
url: "https://pub.dartlang.org"
58-
source: hosted
59-
version: "2.1.4"
6053
cupertino_icons:
6154
dependency: "direct main"
6255
description:
6356
name: cupertino_icons
6457
url: "https://pub.dartlang.org"
6558
source: hosted
6659
version: "0.1.3"
60+
fake_async:
61+
dependency: transitive
62+
description:
63+
name: fake_async
64+
url: "https://pub.dartlang.org"
65+
source: hosted
66+
version: "1.1.0"
6767
flutter:
6868
dependency: "direct main"
6969
description: flutter
@@ -80,21 +80,14 @@ packages:
8080
name: html_unescape
8181
url: "https://pub.dartlang.org"
8282
source: hosted
83-
version: "1.0.1+3"
84-
image:
85-
dependency: transitive
86-
description:
87-
name: image
88-
url: "https://pub.dartlang.org"
89-
source: hosted
90-
version: "2.1.12"
83+
version: "1.0.2"
9184
matcher:
9285
dependency: transitive
9386
description:
9487
name: matcher
9588
url: "https://pub.dartlang.org"
9689
source: hosted
97-
version: "0.12.6"
90+
version: "0.12.8"
9891
meta:
9992
dependency: transitive
10093
description:
@@ -108,28 +101,21 @@ packages:
108101
name: path
109102
url: "https://pub.dartlang.org"
110103
source: hosted
111-
version: "1.6.4"
104+
version: "1.7.0"
112105
petitparser:
113106
dependency: transitive
114107
description:
115108
name: petitparser
116109
url: "https://pub.dartlang.org"
117110
source: hosted
118-
version: "2.4.0"
119-
quiver:
120-
dependency: transitive
121-
description:
122-
name: quiver
123-
url: "https://pub.dartlang.org"
124-
source: hosted
125-
version: "2.1.3"
111+
version: "3.0.4"
126112
simple_html_css:
127113
dependency: "direct main"
128114
description:
129115
path: ".."
130116
relative: true
131117
source: path
132-
version: "2.0.0+1"
118+
version: "2.0.0+3"
133119
sky_engine:
134120
dependency: transitive
135121
description: flutter
@@ -148,7 +134,7 @@ packages:
148134
name: stack_trace
149135
url: "https://pub.dartlang.org"
150136
source: hosted
151-
version: "1.9.3"
137+
version: "1.9.5"
152138
stream_channel:
153139
dependency: transitive
154140
description:
@@ -176,14 +162,14 @@ packages:
176162
name: test_api
177163
url: "https://pub.dartlang.org"
178164
source: hosted
179-
version: "0.2.15"
165+
version: "0.2.17"
180166
typed_data:
181167
dependency: transitive
182168
description:
183169
name: typed_data
184170
url: "https://pub.dartlang.org"
185171
source: hosted
186-
version: "1.1.6"
172+
version: "1.2.0"
187173
vector_math:
188174
dependency: transitive
189175
description:
@@ -197,6 +183,6 @@ packages:
197183
name: xml
198184
url: "https://pub.dartlang.org"
199185
source: hosted
200-
version: "3.6.1"
186+
version: "4.5.1"
201187
sdks:
202-
dart: ">=2.6.0 <3.0.0"
188+
dart: ">=2.9.0-14.0.dev <3.0.0"

lib/src/html_stylist.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ class HTML {
6565
htmlContent.replaceAll("&nbsp;", " ").replaceAll("&nbsp", " ");
6666

6767
//to fix a known issue with non self closing <br> tags
68-
htmlContent =
69-
htmlContent.replaceAll("<br>", "<br />");
68+
htmlContent = htmlContent.replaceAll("<br>", "<br />");
7069

7170
Parser p = Parser(context, HtmlUnescape().convert(htmlContent),
7271
linksCallback: linksCallback,

lib/src/internals.dart

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ class Parser {
9595
break;
9696

9797
//dropping partial support for li bullets
98-
// case "list_item":
99-
// text = "• " + text;
100-
// break;
98+
// case "list_item":
99+
// text = "• " + text;
100+
// break;
101101

102102
case "visit_link":
103103
isLink = true;
@@ -250,10 +250,30 @@ class Parser {
250250
" color: #4287f5;";
251251
break;
252252

253-
//dropping partial support for ul-li bullets
253+
//dropping partial support for ul-li bullets
254254
// case "li":
255255
// styles = "list_item:ul;";
256256
// break;
257+
// RichText(
258+
// text: TextSpan(
259+
// text:"",
260+
// style: TextStyle(color: Colors.black),
261+
// children: <InlineSpan>[
262+
// WidgetSpan(
263+
// alignment: PlaceholderAlignment.baseline,
264+
// baseline: TextBaseline.alphabetic,
265+
// child: Row(
266+
// crossAxisAlignment: CrossAxisAlignment.start,
267+
// children: <Widget>[
268+
// Text( '• '),
269+
// SizedBox(width: 20,),
270+
// Expanded(child: Text('Example text',)),
271+
// ],
272+
// )
273+
// ),
274+
// ],
275+
// ),
276+
// )
257277
}
258278

259279
event.attributes.forEach((attribute) {
@@ -274,6 +294,7 @@ class Parser {
274294
}
275295

276296
//TODO: see if there is a better way to add space after these tags
297+
//maybe use widget spans
277298
if (event is xmle.XmlEndElementEvent) {
278299
if (event.name == 'p' ||
279300
event.name == 'h1' ||

0 commit comments

Comments
 (0)