Explorar el Código

fix/refac: tts remove formattings

Timothy Jaeryang Baek hace 4 meses
padre
commit
27bb5f5369
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  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
 };