Fixed a scraper issue where escaped HTML quotation marks were not expanded for the game description.

This commit is contained in:
Leon Styhre 2020-07-30 14:54:52 +02:00
parent 9f04458bbd
commit 2371ef51bc

View file

@ -666,6 +666,11 @@ bool GuiScraperSearch::saveMetadata(
metadata.set(key, result.mdl.get(key));
mMetadataUpdated = true;
}
// For the description, expand any escaped HTML quotation marks to literal
// quotation marks.
if (key == "desc" && mMetadataUpdated)
metadata.set(key, Utils::String::replace(metadata.get(key), """, "\""));
}
return mMetadataUpdated;