Merge branch 'bug_9886' into 3.14-master
This commit is contained in:
commit
9fbdc7b1d6
1 changed files with 5 additions and 1 deletions
|
@ -620,7 +620,11 @@ sub _parseletter {
|
|||
while ( my ($field, $val) = each %$values ) {
|
||||
my $replacetablefield = "<<$table.$field>>";
|
||||
my $replacefield = "<<$field>>";
|
||||
$val =~ s/\p{P}(?=$)//g if $val;
|
||||
$val =~ s/\p{P}$// if $val && $table=~/biblio/;
|
||||
#BZ 9886: Assuming that we want to eliminate ISBD punctuation here
|
||||
#Therefore adding the test on biblio. This includes biblioitems,
|
||||
#but excludes items. Removed unneeded global and lookahead.
|
||||
|
||||
my $replacedby = defined ($val) ? $val : '';
|
||||
($letter->{title} ) and do {
|
||||
$letter->{title} =~ s/$replacetablefield/$replacedby/g;
|
||||
|
|
Loading…
Reference in a new issue