Skip to content

Commit

Permalink
fix: sometimes skips words
Browse files Browse the repository at this point in the history
  • Loading branch information
rust17 committed Nov 11, 2023
1 parent 733e82d commit 80a9073
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/TTSServiceImplementation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ export class TTSServiceImplementation implements TTSService {
content = content.replace(/\*/g, "");
content = content.replace(/\^/g, "");
content = content.replace(/==/g, "");

//block references
content = content.replace(/^\S{6}/g, "");
}
if (!this.plugin.settings.speakLinks) {
//regex from https://stackoverflow.com/a/37462442/5589264
Expand Down

0 comments on commit 80a9073

Please sign in to comment.