Skip to content

Commit

Permalink
Merge pull request #194 from abbasou/abbasou-remove-spaces-in-tags
Browse files Browse the repository at this point in the history
Remove spaces in tags #153
  • Loading branch information
tim-hub authored May 18, 2024
2 parents c50e96e + 139aac5 commit b6319fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/verse/VerseSuggesting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ export class VerseSuggesting
if (this.settings?.bookTagging || this.settings?.chapterTagging) {
bottom += ' %%'
bottom += this.settings?.bookTagging
? ` #${this.verseReference.bookName}`
? ` #${this.verseReference.bookName.replace(/ /g, "")}` // Remove spaces from book names in tags
: ''
bottom += this.settings?.chapterTagging
? ` #${
this.verseReference.bookName + this.verseReference.chapterNumber
this.verseReference.bookName.replace(/ /g, "") + this.verseReference.chapterNumber // Remove spaces from book names in tags
}`
: ''
bottom += ' %%'
Expand Down

0 comments on commit b6319fa

Please sign in to comment.