Explorar el Código

wordnik formatting fix

lolcat hace 2 semanas
padre
commit
513bb666c5
Se han modificado 1 ficheros con 1 adiciones y 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,