diff options
author | Igor <pashev.igor@gmail.com> | 2010-11-10 15:17:08 +0300 |
---|---|---|
committer | Igor <pashev.igor@gmail.com> | 2010-11-10 15:17:08 +0300 |
commit | f1c473be59369e909ccc54a49fdfd8cfebc6be8a (patch) | |
tree | b2312e9395b320424caef8b935d0ed427e44c7d4 /bibtex.php | |
parent | 67f72f1a617371b2ea1a235872315120ea1683f5 (diff) | |
download | dokuwiki-plugin-papers-f1c473be59369e909ccc54a49fdfd8cfebc6be8a.tar.gz |
Support for Translate plugin (automatically choose source for <papers> and <grants>)
Diffstat (limited to 'bibtex.php')
-rw-r--r-- | bibtex.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ class BibtexParser $this->ENTRIES[$bibent]['id'] = strtolower($matches[2]); // e. g. $ENTRIES['pashev_2010_axiom']['entry'] = 'book' } - elseif (preg_match('/(\w+?)\s*=\s*(.*?)\s*,?\s*$/u', $line, $matches)) + elseif (preg_match('/^\s*(\w+?)\s*=\s*(.*?)\s*,?\s*$/u', $line, $matches)) { $this->ENTRIES[$bibent][strtolower($matches[1])] = $matches[2]; /* e. g. |