Sfoglia il codice sorgente

duckduckgo spelling fix

lolcat 1 anno fa
parent
commit
1a00bf8069
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      scraper/ddg.php

+ 1 - 1
scraper/ddg.php

@@ -718,7 +718,7 @@ class ddg{
 						->getTextContent(
 							$json["suggestion"]
 						),
-					"correction" => $json["recourseText"]
+					"correction" => html_entity_decode($json["recourseText"])
 				];
 			}
 		}