diff --git a/crates/notedeck_columns/src/post.rs b/crates/notedeck_columns/src/post.rs index e99cc21..8bb624c 100644 --- a/crates/notedeck_columns/src/post.rs +++ b/crates/notedeck_columns/src/post.rs @@ -132,7 +132,7 @@ impl NewPost { for word in content.split_whitespace() { if word.starts_with('#') && word.len() > 1 { let tag = word[1..] - .trim_end_matches(|c: char| !c.is_alphanumeric()) + .trim_end_matches(|c: char| c.is_ascii_punctuation()) .to_lowercase(); if !tag.is_empty() { hashtags.insert(tag);