Bläddra i källkod

fix/refac: tts remove formattings

Timothy Jaeryang Baek 4 månader sedan
förälder
incheckning
27bb5f5369
1 ändrade filer med 0 tillägg och 1 borttagningar
  1. 0 1
      src/lib/utils/index.ts

+ 0 - 1
src/lib/utils/index.ts

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