Skip to content

Commit

Permalink
quotes preference
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed Mar 7, 2024
1 parent de602a5 commit 50a29b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ var Utilities = {

// protect leading capital
text.replace(/(^|["])(<[^>]+>)?([\p{Lu}])/gu, (match, prefix, markup, char, offset) => {
markup = markup || ''
markup = markup || ""
preserve.push({ start: offset + prefix.length + markup.length, end: offset + prefix.length + markup.length + char.length });
});

Expand Down

0 comments on commit 50a29b2

Please sign in to comment.