diff options
| author | 2020-10-11 13:32:23 +0200 | |
|---|---|---|
| committer | 2020-10-11 13:32:23 +0200 | |
| commit | f33e2611632bf6f28948a9351dbd4e981643e4cc (patch) | |
| tree | 68f7bbd9fd05a3b8947ef3015c24d831aa110532 /app/views | |
| parent | 191cda42e6b0fde9959b832d24b23ee0bf82c7ed (diff) | |
Fix sanitize feed description (#3222)
* Fix sanitize feed description
#fix https://github.com/FreshRSS/FreshRSS/issues/3221
* Simplification
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/helpers/feed/update.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml index 7576b1fda..002298b06 100644 --- a/app/views/helpers/feed/update.phtml +++ b/app/views/helpers/feed/update.phtml @@ -7,7 +7,7 @@ <a href="<?= _url('stats', 'repartition', 'id', $this->feed->id()) ?>"><?= _i('stats') ?> <?= _t('sub.feed.stats') ?></a> </div> - <p><?= $this->feed->description() ?></p> + <p><?= sanitizeHTML($this->feed->description()) ?></p> <?php $nbEntries = $this->feed->nbEntries(); ?> |
