From 927b2e3ee4aaac80d0c30eda3e7c651769a9b34d Mon Sep 17 00:00:00 2001 From: Mostafa Said <94674993+MooseSaeed@users.noreply.github.com> Date: Mon, 11 Apr 2022 17:45:52 +0200 Subject: [PATCH] exclude symbols --- public/js/app.js | 2 +- resources/js/components/main/Wordleiteditor.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/public/js/app.js b/public/js/app.js index e421d67..fe4763f 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -18650,7 +18650,7 @@ __webpack_require__.r(__webpack_exports__); }; }, speechSynth: function speechSynth() { - var customeResponse = this.markdown.replace(/[&\/\\#+()$~%'":*?<>{}]/g, ""); + var customeResponse = this.markdown.replace(/[&\/\\#+()$~%'":*<>{}]/g, ""); this.response = customeResponse; this.responseInSpeech.text = "".concat(this.response); this.responseInSpeech.voice = this.voiceList[this.selectedVoice]; diff --git a/resources/js/components/main/Wordleiteditor.vue b/resources/js/components/main/Wordleiteditor.vue index 1d5ffe7..fb3ad5f 100644 --- a/resources/js/components/main/Wordleiteditor.vue +++ b/resources/js/components/main/Wordleiteditor.vue @@ -182,7 +182,7 @@ export default { }, speechSynth() { const customeResponse = this.markdown.replace( - /[&\/\\#+()$~%'":*?<>{}]/g, + /[&\/\\#+()$~%'":*<>{}]/g, "" ); this.response = customeResponse; @@ -202,6 +202,7 @@ export default { this.speechSynthOff(); } }, + syncToggle() { this.isSyncing = !this.isSyncing; },