This commit is contained in:
2026-03-12 21:00:10 +09:00
parent 07fa685539
commit 3b5274bebc
2 changed files with 6 additions and 4 deletions

View File

@@ -76,5 +76,5 @@ export async function expandReplyTree(
export const sanitizeText = (text: string) =>
text
.replaceAll(/(\r\n|\r|\n)\s+/g, "\n\n") // remove extra newlines
.replaceAll("@", "") // remove mentions
.replaceAll("#", ""); // remove hashtags
.replaceAll("@", "") // remove mentions
.replaceAll("#", ""); // remove hashtags