浏览代码

duckduckgo spelling fix

lolcat 1 年之前
父节点
当前提交
1a00bf8069
共有 1 个文件被更改,包括 1 次插入1 次删除
  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"])
 				];
 			}
 		}