Przeglądaj źródła

fix/refac: tts remove formattings

Timothy Jaeryang Baek 4 miesięcy temu
rodzic
commit
27bb5f5369
1 zmienionych plików z 0 dodań i 1 usunięć
  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
 };