@istex/istex-merge
Advanced tools
Comparing version 2.2.7 to 2.2.8
@@ -187,3 +187,3 @@ /* eslint-disable no-labels */ | ||
const sanitizeName = (author) => { | ||
return (author.forename.trim() + author.surname.trim()) | ||
return (_.trim(author.forename) + _.trim(author.surname)) | ||
.normalize('NFD') // We decompose combined graphemes into the combination of simple ones (è becomes e + `) | ||
@@ -190,0 +190,0 @@ .replace(/[\u0300-\u036f]/g, ''); // We remove every diacritic |
{ | ||
"name": "@istex/istex-merge", | ||
"version": "2.2.7", | ||
"version": "2.2.8", | ||
"description": "Library to build merged documents and generate Hal TEIs from them.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
86430