ソースを参照

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"])
 				];
 			}
 		}