Fix concatenation of entry body for full feed
When requesting a (RSS) feed response, the extended body is added to the entry body. The separating charcter has been changed from a space to a newline because some plugins like Markdown or Textile could not parse the first line of the extended body correctly. Fixes: #335 Related: http://board.s9y.org/viewtopic.php?f=10&t=20331
This commit is contained in:
parent
b55d8a26f2
commit
70c4ce8e40
@ -68,7 +68,7 @@ function serendipity_printEntries_rss(&$entries, $version, $comments = false, $f
|
||||
|
||||
// Embed a link to extended entry, if existing
|
||||
if ($options['fullFeed']) {
|
||||
$entry['body'] .= ' ' . $entry['extended'];
|
||||
$entry['body'] .= '\n' . $entry['extended'];
|
||||
$ext = '';
|
||||
} elseif ($entry['exflag']) {
|
||||
$ext = '<a class="block_level" href="' . $entry['feed_entryLink'] . '#extended">' . sprintf(VIEW_EXTENDED_ENTRY, serendipity_specialchars($entry['title'])) . '</a>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user