Skip to content

Commit

Permalink
ncu
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed Dec 19, 2024
1 parent 0d44604 commit 444bcb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions translators/bibtex/entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1341,9 +1341,9 @@ export class Entry {
const initials = Zotero.Utilities.XRegExp.exec(name.initials, this.re.allCaps)
? name.initials
: name.initials
.split(/[\s.]+/)
.map(initial => initial.length > 1 ? `<span class="nocase">${ initial }</span>` : initial)
.join('')
.split(/[\s.]+/)
.map(initial => initial.length > 1 ? `<span class="nocase">${ initial }</span>` : initial)
.join('')
namebuilder.push(`given-i=${ this._enc_creator_part(initials) }`)
}
if (name.suffix) namebuilder.push(`suffix=${ this._enc_creator_part(name.suffix) }`)
Expand Down

0 comments on commit 444bcb4

Please sign in to comment.