Compare commits

..
Author SHA1 Message Date
dependabot[bot]andGitHub 5a671af957 Bump nwmatcher from 1.4.1 to 1.4.4
Bumps [nwmatcher](https://github.com/dperini/nwmatcher) from 1.4.1 to 1.4.4.
- [Release notes](https://github.com/dperini/nwmatcher/releases)
- [Commits](https://github.com/dperini/nwmatcher/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-28 18:36:35 +00:00
2 changed files with 4 additions and 5 deletions
+3 -3
View File
@@ -3561,9 +3561,9 @@
}
},
"nwmatcher": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/nwmatcher/-/nwmatcher-1.4.1.tgz",
"integrity": "sha1-eumwew6oBNt+JfBctf5Al9TklJ8="
"version": "1.4.4",
"resolved": "https://registry.npmjs.org/nwmatcher/-/nwmatcher-1.4.4.tgz",
"integrity": "sha512-3iuY4N5dhgMpCUrOVnuAdGrgxVqV2cJpM+XNccjR2DKOB1RUP0aA+wGXEiNziG/UKboFyGBIoKOaNlJxx8bciQ=="
},
"object-assign": {
"version": "4.1.1",
+1 -2
View File
@@ -18,8 +18,7 @@ function normalizeTag(string) {
return string
.replace(/[\t\n ]+/g, ' ')
.replace(/{\\["^`.'acu~Hvs]( )?([a-zA-Z])}/g, (full, x, char) => char)
.replace(/{\\([a-zA-Z])}/g, (full, char) => char)
.replace(/[{}]/gi,''); // Replace curly braces forcing plaintext in latex.
.replace(/{\\([a-zA-Z])}/g, (full, char) => char);
}
export function parseBibtex(bibtex) {