reorder description trim chars
This commit is contained in:
parent
1788524a70
commit
04dc5e28eb
2 changed files with 2 additions and 2 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1031,7 +1031,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "packard"
|
name = "packard"
|
||||||
version = "0.0.2"
|
version = "0.0.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"chrono",
|
"chrono",
|
||||||
|
|
|
@ -27,7 +27,7 @@ async fn main() -> Result<(), io::Error> {
|
||||||
"\x1b[1m>\x1b[0m \x1b[1;32m\x1b]8;;{}\x1b\\{}\x1b]8;;\x1b\\\x1b[0m\n\x1b[3m\x1b[2m{}\x1b[0m\n\x1b[2m{}\x1b[0m\n",
|
"\x1b[1m>\x1b[0m \x1b[1;32m\x1b]8;;{}\x1b\\{}\x1b]8;;\x1b\\\x1b[0m\n\x1b[3m\x1b[2m{}\x1b[0m\n\x1b[2m{}\x1b[0m\n",
|
||||||
item.link,
|
item.link,
|
||||||
item.title,
|
item.title,
|
||||||
utils::remove_html_tags(&utils::trim_chars(&item.description)),
|
utils::trim_chars(&utils::remove_html_tags(&item.description)),
|
||||||
item.pub_date.to_string()
|
item.pub_date.to_string()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue