Skip to content

Commit

Permalink
style error item
Browse files Browse the repository at this point in the history
  • Loading branch information
shouya committed Sep 20, 2024
1 parent 76669e1 commit e1c3d43
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/filter/merge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,9 @@ impl FeedFilter for Merge {
.clone()
.unwrap_or_else(|| format!("{:?}", source));

let body =
format!("<p>Source:<br>{source_desc}</p><p>Error:<br>{error}</p>");
let body = format!(
"<p><b>Source:</b><br>{source_desc}</p><p><b>Error:</b><br>{error}</p>"
);
feed.add_item(title, body, source_url.unwrap_or_default());
}

Expand Down

0 comments on commit e1c3d43

Please sign in to comment.