Browse Source

better handling of escaped quotes

replace/c24a8d1de403113542ba0936e844151de2785013
Martin Monperrus 15 years ago
parent
commit
c06c26b90c
  1. 1
      bibtexbrowser.php

1
bibtexbrowser.php

@ -563,6 +563,7 @@ for ( $i=0; $i < strlen( $sread ); $i++) { $s=$sread[$i];
// handle anti-double quotes // handle anti-double quotes
else if ($state==GETVALUEDELIMITEDBYQUOTES_ESCAPED) { else if ($state==GETVALUEDELIMITEDBYQUOTES_ESCAPED) {
$state = GETVALUEDELIMITEDBYQUOTES; $state = GETVALUEDELIMITEDBYQUOTES;
$inentryvaluedelimitedB = substr($inentryvaluedelimitedB,0,strlen($inentryvaluedelimitedB)-1);
$inentryvaluedelimitedB=$inentryvaluedelimitedB.$s; $inentryvaluedelimitedB=$inentryvaluedelimitedB.$s;
} }

Loading…
Cancel
Save