Fixes #1425, ignoring dates & termsOfAddress so they don't overwrite the author name.
This commit is contained in:
parent
d4a7e5bd37
commit
51a019e753
|
@ -448,7 +448,10 @@ function doImport() {
|
|||
creator.firstName = namePart.text().toString();
|
||||
} else if(namePart.@type == "family") {
|
||||
creator.lastName = namePart.text().toString();
|
||||
} else {
|
||||
} else if(namePart.@type == "date" || namePart.@type == "termsOfAddress") {
|
||||
// ignore these non name types for now
|
||||
}
|
||||
else {
|
||||
var backupName = namePart.text().toString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user