Browse Source

ox-odt: Small fix

* lisp/ox-odt.el (org-odt--translate-latex-fragments): Fix bug
  introduced in cebdec663d63d6971c20cb99e5502e646ee12187.
Nicolas Goaziou 2 years ago
parent
commit
ce7b3fc74b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lisp/ox-odt.el

+ 2 - 1
lisp/ox-odt.el

@@ -3813,7 +3813,8 @@ contextual information."
 				(buffer-substring-no-properties
 				 (point-min) (point-max)))))
 		    (if (org-string-match-p "file:\\([^]]*\\)" link) link
-		      (message "LaTeX Conversion failed.")))))
+		      (message "LaTeX Conversion failed.")
+		      nil))))
 	    (when org-link
 	      ;; Conversion succeeded.  Parse above Org-style link to
 	      ;; a `link' object.