From 2c976cd1b68d048277864c040153e1e1a1b14631 Mon Sep 17 00:00:00 2001 From: "Joseph L. Richards" Date: Tue, 24 Dec 2013 10:09:56 +0100 Subject: [PATCH] fixes bug in bibtex concatenation with # --- bibtexbrowser.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bibtexbrowser.php b/bibtexbrowser.php index 78eaf68..af8c346 100755 --- a/bibtexbrowser.php +++ b/bibtexbrowser.php @@ -710,13 +710,13 @@ class BibDBBuilder { } function setEntryField($finalkey,$entryvalue) { - // is it a constant? then we replace the value - // we support advanced features of bibtexbrowser + // support for Bibtex concatenation // see http://newton.ex.ac.uk/tex/pack/bibtex/btxdoc/node3.html - $entryvalue_array=explode('#',$entryvalue); + // (?$v) { - // spaces are allowed when using #, they are not taken into account - // however # is not istself replaced by a space + // spaces are allowed when using # and they are not taken into account + // however # is not itself replaced by a space // warning: @strings are not case sensitive // see http://newton.ex.ac.uk/tex/pack/bibtex/btxdoc/node3.html $stringKey=strtolower(trim($v));