瀏覽代碼

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(
 						->getTextContent(
 							$json["suggestion"]
 							$json["suggestion"]
 						),
 						),
-					"correction" => $json["recourseText"]
+					"correction" => html_entity_decode($json["recourseText"])
 				];
 				];
 			}
 			}
 		}
 		}