|
@@ -75,7 +75,7 @@
|
|
|
'get' => $get,
|
|
'get' => $get,
|
|
|
'nextGet' => FreshRSS_Context::$next_get,
|
|
'nextGet' => FreshRSS_Context::$next_get,
|
|
|
'idMax' => FreshRSS_Context::$id_max,
|
|
'idMax' => FreshRSS_Context::$id_max,
|
|
|
- 'search' => FreshRSS_Context::$search,
|
|
|
|
|
|
|
+ 'search' => htmlspecialchars_decode(FreshRSS_Context::$search, ENT_QUOTES),
|
|
|
'state' => FreshRSS_Context::$state,
|
|
'state' => FreshRSS_Context::$state,
|
|
|
)
|
|
)
|
|
|
);
|
|
);
|
|
@@ -162,7 +162,8 @@
|
|
|
|
|
|
|
|
<div class="item search">
|
|
<div class="item search">
|
|
|
<form action="<?php echo _url('index', 'index'); ?>" method="get">
|
|
<form action="<?php echo _url('index', 'index'); ?>" method="get">
|
|
|
- <input type="search" name="search" class="extend" value="<?php echo FreshRSS_Context::$search; ?>" placeholder="<?php echo _t('index.menu.search_short'); ?>" />
|
|
|
|
|
|
|
+ <input type="search" name="search" class="extend" value="<?php
|
|
|
|
|
+ echo htmlspecialchars(htmlspecialchars_decode(FreshRSS_Context::$search), ENT_COMPAT, 'UTF-8'); ?>" placeholder="<?php echo _t('index.menu.search_short'); ?>" />
|
|
|
|
|
|
|
|
<?php $get = Minz_Request::param('get', ''); ?>
|
|
<?php $get = Minz_Request::param('get', ''); ?>
|
|
|
<?php if($get != '') { ?>
|
|
<?php if($get != '') { ?>
|