fix dc:contributor java.lang issue

This commit is contained in:
Felix Lohmeier 2022-02-22 10:28:44 +01:00
parent 659ad70ec6
commit 2e698c3fe3
1 changed files with 4 additions and 4 deletions

View File

@ -19,9 +19,9 @@
</role> </role>
</name>{{forNonBlank(cells['dc:contributor'].value, x, forEach(x.split('␞'), v, ' </name>{{forNonBlank(cells['dc:contributor'].value, x, forEach(x.split('␞'), v, '
<name type="personal"> <name type="personal">
<displayForm>'+ v.escape('xml') +'</displayForm> <displayForm>'+ v.escape('xml') +'</displayForm>' + forNonBlank(v.split(',')[1], z, '
<namePart type="family">' + v.split(',')[0].escape('xml') + '</namePart> <namePart type="family">' + v.split(',')[0].escape('xml') + '</namePart>' + '
<namePart type="given">' + v.split(',')[1].trim().escape('xml') + '</namePart> <namePart type="given">' + z.trim().escape('xml') + '</namePart>', '') + '
<role> <role>
<roleTerm type="code" authority="marcrelator">ctb</roleTerm> <roleTerm type="code" authority="marcrelator">ctb</roleTerm>
</role> </role>