forked from mirrors/org-mode
Merge branch 'maint'
This commit is contained in:
commit
e53452c76c
|
@ -19386,12 +19386,9 @@ inspection."
|
|||
(with-current-buffer (find-file-noselect tmp-out-file t)
|
||||
(goto-char (point-min))
|
||||
(when (re-search-forward
|
||||
(concat
|
||||
(regexp-quote
|
||||
"<math xmlns=\"http://www.w3.org/1998/Math/MathML\"")
|
||||
"[^>]*?>"
|
||||
"\\(.\\|\n\\)*"
|
||||
"</math>")
|
||||
(format "<math[^>]*?%s[^>]*?>\\(.\\|\n\\)*</math>"
|
||||
(regexp-quote
|
||||
"xmlns=\"http://www.w3.org/1998/Math/MathML\""))
|
||||
nil t)
|
||||
(prog1 (match-string 0) (kill-buffer))))))
|
||||
(cond
|
||||
|
|
|
@ -3741,9 +3741,9 @@ contextual information."
|
|||
(org-link
|
||||
(let ((link (with-temp-buffer
|
||||
(insert latex-frag)
|
||||
(org-format-latex cache-subdir cache-dir
|
||||
nil display-msg
|
||||
nil processing-type)
|
||||
(org-format-latex cache-subdir nil nil cache-dir
|
||||
nil display-msg nil
|
||||
processing-type)
|
||||
(buffer-substring-no-properties
|
||||
(point-min) (point-max)))))
|
||||
(if (string-match-p "file:\\([^]]*\\)" link) link
|
||||
|
|
Loading…
Reference in New Issue