remove html tags from description content
This commit is contained in:
parent
535ace44e3
commit
04ba3e64be
3 changed files with 20 additions and 3 deletions
|
@ -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",
|
||||
item.link,
|
||||
item.title,
|
||||
utils::trim_chars(&item.description),
|
||||
utils::remove_html_tags(&utils::trim_chars(&item.description)),
|
||||
item.pub_date.to_string()
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue