aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/FeedBuilder.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-11-07 20:23:58 +0100
committerArthurHoaro <arthur@hoa.ro>2017-11-07 20:23:58 +0100
commitfd08b50a80c3aed25f9e2a19cbfe9fb3ad35cf1f (patch)
treeac75653241dec9fbdc0c66dfa14181b13d4a0dba /application/FeedBuilder.php
parentd12b2a08c886a652d1edbacb287788814a8ef7f1 (diff)
downloadShaarli-fd08b50a80c3aed25f9e2a19cbfe9fb3ad35cf1f.tar.gz
Shaarli-fd08b50a80c3aed25f9e2a19cbfe9fb3ad35cf1f.tar.zst
Shaarli-fd08b50a80c3aed25f9e2a19cbfe9fb3ad35cf1f.zip
Don't URL encode description links if parameter 'redirector.encode_url' is set to false
Diffstat (limited to 'application/FeedBuilder.php')
-rw-r--r--application/FeedBuilder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/FeedBuilder.php b/application/FeedBuilder.php
index 3cfaafb4..ebae18b4 100644
--- a/application/FeedBuilder.php
+++ b/application/FeedBuilder.php
@@ -152,7 +152,7 @@ class FeedBuilder
152 } else { 152 } else {
153 $permalink = '<a href="'. $link['guid'] .'" title="'. t('Permalink') .'">'. t('Permalink') .'</a>'; 153 $permalink = '<a href="'. $link['guid'] .'" title="'. t('Permalink') .'">'. t('Permalink') .'</a>';
154 } 154 }
155 $link['description'] = format_description($link['description'], '', $pageaddr); 155 $link['description'] = format_description($link['description'], '', false, $pageaddr);
156 $link['description'] .= PHP_EOL .'<br>&#8212; '. $permalink; 156 $link['description'] .= PHP_EOL .'<br>&#8212; '. $permalink;
157 157
158 $pubDate = $link['created']; 158 $pubDate = $link['created'];