Skip to content

Commit

Permalink
exclude symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
MooseSaeed committed Apr 11, 2022
1 parent bdcb480 commit 927b2e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
3 changes: 2 additions & 1 deletion resources/js/components/main/Wordleiteditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default {
},
speechSynth() {
const customeResponse = this.markdown.replace(
/[&\/\\#+()$~%'":*?<>{}]/g,
/[&\/\\#+()$~%'":*<>{}]/g,
""
);
this.response = customeResponse;
Expand All @@ -202,6 +202,7 @@ export default {
this.speechSynthOff();
}
},
syncToggle() {
this.isSyncing = !this.isSyncing;
},
Expand Down

0 comments on commit 927b2e3

Please sign in to comment.