server: use clean_summary field instead of summary

This commit is contained in:
2025-01-27 15:47:55 -08:00
parent 19f029cb6b
commit bd00542c28
2 changed files with 4 additions and 3 deletions

View File

@@ -190,7 +190,7 @@ pub async fn thread(
let site = r.name.unwrap_or("NO SITE".to_string());
// TODO: remove the various places that have this as an Option
let link = Some(Url::parse(&r.link)?);
let mut body = r.summary.unwrap_or("NO SUMMARY".to_string());
let mut body = r.clean_summary.unwrap_or("NO SUMMARY".to_string());
let cacher = Arc::new(Mutex::new(FilesystemCacher::new(&config.slurp_cache_path)?));
let body_tranformers: Vec<Box<dyn Transformer>> = vec![
Box::new(SlurpContents {