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>
This commit is contained in:
Nicolas Goaziou 2017-09-05 22:33:29 +02:00
parent 1654a5a98a
commit 0a77f042ea
1 changed files with 1 additions and 0 deletions

View File

@ -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.")