Skip to content

Commit

Permalink
Remove parens surrounding url in output
Browse files Browse the repository at this point in the history
This solves an issue where terminals include the paren in their detected
hyperlink. When you click the url, some sites won't be able to find the
url because of the extra paren at the end. The paren at the front
doesn't suffer from this.
  • Loading branch information
KnapSac committed May 17, 2024
1 parent c236fee commit 8b43777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/feed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ impl Feed {
Ok(_) | Err(_) => self.base_url.join(&item.id)?,
};

writeln!(stdout, " ({})", post_url.to_string())?;
writeln!(stdout, " {}", post_url.to_string())?;
stdout.reset()?;

idx += 1;
Expand Down

0 comments on commit 8b43777

Please sign in to comment.