Skip to content

Commit

Permalink
Merge pull request #1447 from ms609/GlazerMann-patch-6
Browse files Browse the repository at this point in the history
Forget publisher if exactly equal to journal
  • Loading branch information
Martin R. Smith committed Mar 13, 2019
2 parents ab13f60 + efccc04 commit 5a3bd35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -2856,6 +2856,9 @@ public function tidy_parameter($param) {
if (str_replace(array('[', ' ', ']'), '', $publisher) == 'google') {
$this->forget($param);
}
if (strtolower($this->get('journal')) === $publisher) {
$this->forget($param);
}
return;

case 'quotes':
Expand Down

0 comments on commit 5a3bd35

Please sign in to comment.