update packages
This commit is contained in:
@@ -264,7 +264,9 @@ on any dominated branch for which PRED holds."
|
||||
(if (and s (s-matches-p "</[[:alnum:]]+>" s))
|
||||
(let* ((parsed (citeproc-lib-parse-html-frag s))
|
||||
(body (cddr (cl-caddr parsed)))
|
||||
(stripped (if (eq (caar body) 'p) (cl-cddar body) body)))
|
||||
(stripped (if (and (consp (car body)) (eq (caar body) 'p))
|
||||
(cl-cddar body)
|
||||
body)))
|
||||
(if (= 1 (length stripped))
|
||||
(citeproc-rt-from-html (car stripped))
|
||||
(cons nil (mapcar 'citeproc-rt-from-html stripped))))
|
||||
|
||||
Reference in New Issue
Block a user