Skip to content

Commit

Permalink
fix #305
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub committed Dec 5, 2024
1 parent fe4c420 commit 3ab7da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/inn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ pub(crate) async fn edit_post_post(
.tags
.split('#')
.map(clean_html)
.map(|s| s.trim().to_string())
.map(|s| s.replace('/', "-").trim().to_string())
.filter(|s| !s.is_empty())
.collect();

Expand Down

0 comments on commit 3ab7da4

Please sign in to comment.