🚀 Auto-deploy: Camila atualizado em 03/06/2026 11:03:23
This commit is contained in:
+3
-1
@@ -888,8 +888,10 @@ const initApp = () => {
|
||||
|
||||
currentSpeakingBtn = btn;
|
||||
|
||||
// Limpar markdown antes de falar
|
||||
// Limpar markdown e emojis antes de falar
|
||||
const clean = text
|
||||
.replace(/\p{Extended_Pictographic}/gu, '') // Remove emojis pictográficos (ex: ✍️, 📝, 🧒)
|
||||
.replace(/[\u{1F300}-\u{1F9FF}]|[\u{2700}-\u{27BF}]|[\u{2600}-\u{26FF}]/gu, '') // Fallback para símbolos/dingbats comuns
|
||||
.replace(/```[\s\S]*?```/g, '')
|
||||
.replace(/`[^`]+`/g, '')
|
||||
.replace(/\[([^\]]+)\]\([^)]+\)/g, '$1')
|
||||
|
||||
Reference in New Issue
Block a user