Compare commits
2 Commits
502f6d12e4
...
430c0a2f0f
Author | SHA1 | Date | |
---|---|---|---|
![]() |
430c0a2f0f | ||
![]() |
1a00bf8069 |
@ -718,7 +718,7 @@ class ddg{
|
|||||||
->getTextContent(
|
->getTextContent(
|
||||||
$json["suggestion"]
|
$json["suggestion"]
|
||||||
),
|
),
|
||||||
"correction" => $json["recourseText"]
|
"correction" => html_entity_decode($json["recourseText"])
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
web.php
2
web.php
@ -89,7 +89,7 @@ if($results["spelling"]["type"] != "no_correction"){
|
|||||||
'&' .
|
'&' .
|
||||||
$frontend->buildquery($get, true) .
|
$frontend->buildquery($get, true) .
|
||||||
'&spellcheck=no">' .
|
'&spellcheck=no">' .
|
||||||
$results["spelling"]["correction"] .
|
htmlspecialchars($results["spelling"]["correction"]) .
|
||||||
'</a>?' .
|
'</a>?' .
|
||||||
'</div>';
|
'</div>';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user