Compare commits
No commits in common. "main" and "plain_text" have entirely different histories.
main
...
plain_text
2
cpanfile
2
cpanfile
@ -7,4 +7,4 @@ requires 'XML::RSS';
|
|||||||
requires 'Text::Markdown';
|
requires 'Text::Markdown';
|
||||||
requires 'HTML::Restrict';
|
requires 'HTML::Restrict';
|
||||||
requires 'Roman::Unicode';
|
requires 'Roman::Unicode';
|
||||||
requires 'SlapbirdAPM::Agent::Mojo', '>= 0.012';
|
requires 'SlapbirdAPM::Agent::Mojo';
|
||||||
|
@ -147,9 +147,7 @@ sub feed($self) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
for my $remark (@{$remarks}) {
|
for my $remark (@{$remarks}) {
|
||||||
my $description = $remark->{'markdown'}
|
my $description = $self->markdown($remark->{'body'});
|
||||||
? $self->markdown($remark->{'body'})
|
|
||||||
: $remark->{'body'};
|
|
||||||
my $item_link = $self->url_for(
|
my $item_link = $self->url_for(
|
||||||
single_remark => {remark_id => $remark->{'id'}}
|
single_remark => {remark_id => $remark->{'id'}}
|
||||||
)->to_abs;
|
)->to_abs;
|
||||||
|
@ -150,9 +150,7 @@ sub feed($self) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
for my $thread (@{$threads}) {
|
for my $thread (@{$threads}) {
|
||||||
my $description = $thread->{'markdown'}
|
my $description = $self->markdown($thread->{'body'});
|
||||||
? $self->markdown($thread->{'body'})
|
|
||||||
: $thread->{'body'};
|
|
||||||
my $item_link = $self->url_for(
|
my $item_link = $self->url_for(
|
||||||
single_thread => {thread_id => $thread->{'id'}}
|
single_thread => {thread_id => $thread->{'id'}}
|
||||||
)->to_abs;
|
)->to_abs;
|
||||||
|
@ -11,6 +11,7 @@ ALTER COLUMN markdown_status
|
|||||||
SET NOT NULL;
|
SET NOT NULL;
|
||||||
|
|
||||||
-- Do the same for remarks
|
-- Do the same for remarks
|
||||||
|
|
||||||
ALTER TABLE remarks
|
ALTER TABLE remarks
|
||||||
ADD COLUMN markdown_status BOOLEAN;
|
ADD COLUMN markdown_status BOOLEAN;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user