From 2371ef51bc4175041a123566282a2d170e498314 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 30 Jul 2020 14:54:52 +0200 Subject: [PATCH] Fixed a scraper issue where escaped HTML quotation marks were not expanded for the game description. --- es-app/src/guis/GuiScraperSearch.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/es-app/src/guis/GuiScraperSearch.cpp b/es-app/src/guis/GuiScraperSearch.cpp index d1c2c02f1..c49f42518 100644 --- a/es-app/src/guis/GuiScraperSearch.cpp +++ b/es-app/src/guis/GuiScraperSearch.cpp @@ -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;