aboutsummaryrefslogtreecommitdiff
path: root/app/layout
diff options
context:
space:
mode:
authorGravatar Inverle <inverle@proton.me> 2025-11-17 18:32:56 +0100
committerGravatar GitHub <noreply@github.com> 2025-11-17 18:32:56 +0100
commitf5d14af156884250c3445cbc82e4d4fd5771ff31 (patch)
treeb81d1a49e85a2cef289021578d67732f87fe6969 /app/layout
parentdeb7633c4932d1838cb0a67aebdab5e37aae7206 (diff)
Show search query in the page title (#8217)
* Show search query in the page title * Simplify encoding --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/layout')
-rw-r--r--app/layout/header.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/header.phtml b/app/layout/header.phtml
index e92b3c2ef..2fd6bb548 100644
--- a/app/layout/header.phtml
+++ b/app/layout/header.phtml
@@ -40,7 +40,7 @@
<?php } ?>
<div class="stick">
<input type="search" name="search" id="search"
- value="<?= htmlspecialchars(htmlspecialchars_decode(Minz_Request::paramString('search'), ENT_QUOTES), ENT_COMPAT, 'UTF-8') ?>"
+ value="<?= Minz_Request::paramString('search') ?>"
placeholder="<?= _t('gen.menu.search') ?>" />
<button class="btn" type="submit"><?= _i('search') ?></button>
</div>