We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89fa993 commit d67dab7Copy full SHA for d67dab7
OGParser/src/main/java/com/kedia/ogparser/OpenGraphParser.kt
@@ -102,7 +102,7 @@ class OpenGraphParser(
102
return@withContext null
103
}
104
105
- if (openGraphResult!!.title?.isEmpty() == true && openGraphResult!!.description?.isEmpty() == true && showNullOnEmpty) {
+ if ((openGraphResult!!.title?.isEmpty() == true || openGraphResult!!.title.equals("null")) && (openGraphResult!!.description?.isEmpty() == true || openGraphResult!!.description.equals("null")) && showNullOnEmpty) {
106
launch(Dispatchers.Main) {
107
listener.onError("Null or empty response from the server")
108
0 commit comments