瀏覽代碼

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 年之前
父節點
當前提交
0a77f042ea
共有 1 個文件被更改,包括 1 次插入0 次删除
  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.")