react-native-link-preview
Advanced tools
Comparing version 1.1.0 to 1.1.2
@@ -52,6 +52,6 @@ /** | ||
static _getTitle(doc) { | ||
let title = doc('title').text(); | ||
let title = doc('meta[property=\'og:title\']').attr('content'); | ||
if (!title) { | ||
title = doc('meta[property=\'og:title\']').attr('content'); | ||
title = doc('title').text(); | ||
} | ||
@@ -58,0 +58,0 @@ |
{ | ||
"name": "react-native-link-preview", | ||
"version": "1.1.0", | ||
"version": "1.1.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
142623