From 15e47177e023c3b59f3f01aeefa20e16ec54b229 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Wed, 17 Nov 2021 16:18:38 +0100 Subject: [PATCH] fix https://github.com/monperrus/wp-publications/issues/1 --- bibtexbrowser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }