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:
parent
83cea90599
commit
3dc4fa9d9d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue