瀏覽代碼

ox-odt: Allow attaching SVG images by default

* lisp/ox-odt.el (org-odt-inline-image-rules): Modify default rule to
  allow including inline SVG images in exported ODT documents.

TINYCHANGE
Vicente Vera Parra 10 年之前
父節點
當前提交
8e89c0e3b4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ox-odt.el

+ 1 - 1
lisp/ox-odt.el

@@ -765,7 +765,7 @@ link's path."
 		:value-type (regexp :tag "Path")))
 
 (defcustom org-odt-inline-image-rules
-  '(("file" . "\\.\\(jpeg\\|jpg\\|png\\|gif\\)\\'"))
+  '(("file" . "\\.\\(jpeg\\|jpg\\|png\\|gif\\|svg\\)\\'"))
   "Rules characterizing image files that can be inlined into ODT.
 
 A rule consists in an association whose key is the type of link