New Markdown behavior for RSS feeds
This commit is contained in:
parent
79836f3f6f
commit
18a2ccb667
@ -147,7 +147,9 @@ sub feed($self) {
|
||||
);
|
||||
|
||||
for my $remark (@{$remarks}) {
|
||||
my $description = $self->markdown($remark->{'body'});
|
||||
my $description = $remark->{'markdown'}
|
||||
? $self->markdown($remark->{'body'})
|
||||
: $remark->{'body'};
|
||||
my $item_link = $self->url_for(
|
||||
single_remark => {remark_id => $remark->{'id'}}
|
||||
)->to_abs;
|
||||
|
@ -150,7 +150,9 @@ sub feed($self) {
|
||||
);
|
||||
|
||||
for my $thread (@{$threads}) {
|
||||
my $description = $self->markdown($thread->{'body'});
|
||||
my $description = $thread->{'markdown'}
|
||||
? $self->markdown($thread->{'body'})
|
||||
: $thread->{'body'};
|
||||
my $item_link = $self->url_for(
|
||||
single_thread => {thread_id => $thread->{'id'}}
|
||||
)->to_abs;
|
||||
|
Loading…
x
Reference in New Issue
Block a user