ox-bibtex: Take key with spaces or non-alphabetic characters into account

* ox-bibtex.el (org-bibtex-process-bib-files): Solve a bug in which
ox-bibtex was not considering enterily keys like "Author et&bsp; al.,
1999" as valid.

TINYCHANGE
This commit is contained in:
Sebastien Le Maguer 2017-02-05 08:11:16 +01:00 committed by Nicolas Goaziou
parent 83cea90599
commit 3dc4fa9d9d
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ Return new parse tree."
;; Update `org-bibtex-html-entries-alist'.
(goto-char (point-min))
(while (re-search-forward
"a name=\"\\([-_a-zA-Z0-9:]+\\)\">\\(\\w+\\)" nil t)
"a name=\"\\([-_a-zA-Z0-9:]+\\)\">\\([^<]+\\)" nil t)
(push (cons (match-string 1) (match-string 2))
org-bibtex-html-entries-alist)))
;; Open produced HTML file, wrap references within a block and