aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2019-05-30 09:01:15 +0200
committerGravatar Alexis Degrugillier <github@ainw.org> 2019-05-30 09:01:15 +0200
commite20161089e2baa8cbd7c6f3d6b30fe6e83fad528 (patch)
tree725425fd360d05c6655be4d79affd8cda96e980d
parent987d71fe9b0824f5f7ae50c23d210b557bae843b (diff)
Fix filter action display
Before, there was extra white lines between search terms when displaying the data. It was not an issue for the storage since they were discarded during the save process. But it was confusing. Now, extra white lines are stripped.
-rw-r--r--app/views/helpers/feed/update.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml
index be8034c0d..d6b9885f5 100644
--- a/app/views/helpers/feed/update.phtml
+++ b/app/views/helpers/feed/update.phtml
@@ -240,7 +240,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'), "\n\n";
+ echo htmlspecialchars($filterRead->getRawInput(), ENT_NOQUOTES, 'UTF-8'), PHP_EOL;
}
?></textarea>
<?php echo _i('help'); ?> <?php echo _t('sub.feed.filteractions.help'); ?>