fix/refac: tts remove formattings

This commit is contained in:
Timothy Jaeryang Baek 2025-05-16 21:51:29 +04:00
parent 54dc24986f
commit 27bb5f5369

View File

@ -750,7 +750,6 @@ export const removeFormattings = (str: string) => {
// Cleanup
.replace(/\[\^[^\]]*\]/g, '') // Footnotes
.replace(/[-*_~]/g, '') // Remaining markers
.replace(/\n{2,}/g, '\n')
); // Multiple newlines
};