Explorar o código

Fix filter double encoding (#3563)

#fix https://github.com/FreshRSS/FreshRSS/issues/3562
The content is already HTML-safe
Alexandre Alapetite %!s(int64=5) %!d(string=hai) anos
pai
achega
49f920e19d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/views/helpers/feed/update.phtml

+ 1 - 1
app/views/helpers/feed/update.phtml

@@ -427,7 +427,7 @@
 			<div class="group-controls">
 				<textarea name="filteractions_read" id="filteractions_read"><?php
 					foreach ($this->feed->filtersAction('read') as $filterRead) {
-						echo htmlspecialchars($filterRead->getRawInput(), ENT_NOQUOTES, 'UTF-8'), PHP_EOL;
+						echo $filterRead->getRawInput(), PHP_EOL;
 					}
 				?></textarea>
 				<p class="help"><?= _i('help') ?> <?= _t('sub.feed.filteractions.help') ?></p>