diff --git a/src/post.rs b/src/post.rs index 5e68734..4a38f4b 100644 --- a/src/post.rs +++ b/src/post.rs @@ -121,9 +121,9 @@ fn parse_comments(json: &serde_json::Value, post_link: &str, post_author: &str, let id = val(&comment, "id"); let highlighted = id == highlighted_comment; - let body = if val(&comment, "author") == "[deleted]" && val(&comment, "body") == "[removed]" { + let body = if (val(&comment, "author") == "[deleted]" && val(&comment, "body") == "[removed]") || val(&comment, "body") == "[deleted]" { format!( - "
[removed] — view removed comment
[removed] — view removed comment
[removed] — view removed post
[removed] — view removed post