Skip to content

Commit

Permalink
Merge pull request #32 from rust17/master
Browse files Browse the repository at this point in the history
Fix sometimes skips words
  • Loading branch information
joethei authored Jan 13, 2024
2 parents 1a54460 + 5539f35 commit bc59748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TTSServiceImplementation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class TTSServiceImplementation implements TTSService {
content = content.replace(/==/g, "");

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

0 comments on commit bc59748

Please sign in to comment.