diff options
| author | lolcat <will@lolcat.ca> | 2026-05-29 21:54:16 -0400 |
|---|---|---|
| committer | lolcat <will@lolcat.ca> | 2026-05-29 21:54:16 -0400 |
| commit | 72fc1ae0803b388b2d9ddb26148d8b94ba404318 (patch) | |
| tree | 788d9057c1093f7c71e4505e5c967cff74ab59fc /scraper/startpage.php | |
| parent | ba2c6f6bb165104365fcc1a5fcbeeb1ec559da10 (diff) | |
stop changing the fucking encoding of the motherfucking word corrector
Diffstat (limited to 'scraper/startpage.php')
| -rw-r--r-- | scraper/startpage.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scraper/startpage.php b/scraper/startpage.php index d1f2b41..ec70834 100644 --- a/scraper/startpage.php +++ b/scraper/startpage.php @@ -570,8 +570,8 @@ class startpage{ $out["spelling"] = [ "type" => "including", - "using" => $json["render"]["query"], - "correction" => urldecode($category["results"][0]["query"]) + "using" => rawurldecode($json["render"]["query"]), + "correction" => html_entity_decode($category["results"][0]["query"]) ]; } break; |
