Skip to content

Commit

Permalink
non-english gets not case protection
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed Apr 13, 2024
1 parent c0b2b2c commit edb2c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ class BibTeXParser {
}
}

if (mode === 'title') {
if (sentenceCase && mode === 'title') {
let root = [...ast.content]
while (root.length) {
const node = root.shift()
Expand Down

0 comments on commit edb2c64

Please sign in to comment.