diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-07-03 09:26:31 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-07-03 09:26:31 -0700 |
| commit | 715d714ade637b6292bab378c4d7deb332542477 (patch) | |
| tree | 5ef6af71c9ac21d557abca8f7895a85d2a20e929 /modules/gallery/helpers | |
| parent | bd1b2f414741bb9bb68c8f94a291bedd5c9925c0 (diff) | |
| parent | 0f9bfbdd572c44ab6b095e18f376c6d340f5fd26 (diff) | |
Merge branch 'master' of git@github.com:/gallery/gallery3
Diffstat (limited to 'modules/gallery/helpers')
| -rw-r--r-- | modules/gallery/helpers/gallery_rss.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/helpers/gallery_rss.php b/modules/gallery/helpers/gallery_rss.php index 6e966bdb..7daf6170 100644 --- a/modules/gallery/helpers/gallery_rss.php +++ b/modules/gallery/helpers/gallery_rss.php @@ -52,9 +52,9 @@ class gallery_rss_Core { ->viewable() ->descendants($limit, $offset, "photo"); $feed->max_pages = ceil($item->viewable()->descendants_count("photo") / $limit); - $feed->title = $item->title; + $feed->title = p::purify($item->title); $feed->link = url::abs_site("albums/{$item->id}"); - $feed->description = $item->description; + $feed->description = nl2br(p::purify($item->description)); return $feed; } |
