diff --git a/src/jsonldimportfilter.cpp b/src/jsonldimportfilter.cpp --- a/src/jsonldimportfilter.cpp +++ b/src/jsonldimportfilter.cpp @@ -311,5 +311,10 @@ res.insert(QStringLiteral("potentialAction"), filterActions(actions)); } + const auto image = res.value(QLatin1String("image")); + if (image.isArray()) { + res.insert(QStringLiteral("image"), image.toArray().first()); + } + return res; }