Skip to content

Commit

Permalink
yungzhu#7 fixed don't display youtube og image
Browse files Browse the repository at this point in the history
  • Loading branch information
jaceshim committed Feb 5, 2021
1 parent 46a210f commit 6568e20
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ packages:
name: characters
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
version: "1.1.0-nullsafety.5"
charcode:
dependency: transitive
description:
Expand All @@ -35,7 +35,7 @@ packages:
name: collection
url: "https://pub.dartlang.org"
source: hosted
version: "1.14.13"
version: "1.15.0-nullsafety.5"
convert:
dependency: transitive
description:
Expand Down Expand Up @@ -124,7 +124,7 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.8"
version: "1.3.0-nullsafety.6"
path:
dependency: transitive
description:
Expand Down Expand Up @@ -234,7 +234,7 @@ packages:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
version: "1.3.0-nullsafety.5"
uuid:
dependency: transitive
description:
Expand All @@ -248,7 +248,7 @@ packages:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.8"
version: "2.1.0-nullsafety.5"
sdks:
dart: ">=2.9.0-14.0.dev <3.0.0"
dart: ">=2.12.0-0 <3.0.0"
flutter: ">=1.12.13+hotfix.5 <2.0.0"
2 changes: 1 addition & 1 deletion lib/web_analyzer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ class WebAnalyzer {

static String _getMetaContent(
Document document, String property, String propertyValue) {
final meta = document.head.getElementsByTagName("meta");
final meta = document.getElementsByTagName("meta");
final ele = meta.firstWhere((e) => e.attributes[property] == propertyValue,
orElse: () => null);
if (ele != null) return ele.attributes["content"]?.trim();
Expand Down
12 changes: 6 additions & 6 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
name: characters
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
version: "1.1.0-nullsafety.5"
charcode:
dependency: transitive
description:
Expand All @@ -21,7 +21,7 @@ packages:
name: collection
url: "https://pub.dartlang.org"
source: hosted
version: "1.14.13"
version: "1.15.0-nullsafety.5"
csslib:
dependency: transitive
description:
Expand Down Expand Up @@ -68,7 +68,7 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.8"
version: "1.3.0-nullsafety.6"
path:
dependency: transitive
description:
Expand Down Expand Up @@ -115,13 +115,13 @@ packages:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
version: "1.3.0-nullsafety.5"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.8"
version: "2.1.0-nullsafety.5"
sdks:
dart: ">=2.9.0-14.0.dev <3.0.0"
dart: ">=2.12.0-0 <3.0.0"

0 comments on commit 6568e20

Please sign in to comment.