Explorar o código

wordnik formatting fix

lolcat hai 2 meses
pai
achega
513bb666c5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      scraper/ddg.php

+ 1 - 1
scraper/ddg.php

@@ -1763,7 +1763,7 @@ class ddg{
 					if(count($answer) !== 0){
 						
 						$out["answer"][] = [
-							"title" => ucfirst($word),
+							"title" => ucfirst(rawurldecode($word)),
 							"description" => $answer,
 							"url" => "https://www.wordnik.com/words/" . $word,
 							"thumb" => null,