瀏覽代碼

fix/refac: tts remove formattings

Timothy Jaeryang Baek 4 月之前
父節點
當前提交
27bb5f5369
共有 1 個文件被更改,包括 0 次插入1 次删除
  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
 };