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; },