Browse Source

ox-odt: Small fix

* lisp/ox-odt.el (org-odt--translate-latex-fragments): Ignore blank
  lines before link to parse.

Reported-by: Alastair Burt <alastair.burt@gmail.com>
Nicolas Goaziou 7 năm trước cách đây
mục cha
commit
0a77f042ea
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      lisp/ox-odt.el

+ 1 - 0
lisp/ox-odt.el

@@ -3749,6 +3749,7 @@ contextual information."
 				      nil display-msg nil
 				      processing-type)
 		    (goto-char (point-min))
+		    (skip-chars-forward " \t\n")
 		    (org-element-link-parser))))
 	    (if (not (eq 'link (org-element-type link)))
 		(message "LaTeX Conversion failed.")