diff --git a/bibtexbrowser.php b/bibtexbrowser.php index f79f2bc..dbd6e0a 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -3787,7 +3787,7 @@ class BibDataBase { $this->addEntry($b); } // update entry - else if (isset($this->bibdb[$b->getKey()]) && ($b->getText() !== $this->bibdb[$b->getKey()]->getText())) { + else if (isset($this->bibdb[$b->getKey()]) && ($b->toHTML() !== $this->bibdb[$b->getKey()]->toHTML())) { //echo 'replacing...
'; $this->bibdb[$b->getKey()] = $b; }