瀏覽代碼

ox-odt.el (org-odt-special-block): Don't insert annotations using style "Text_20_body"

* ox-odt.el (org-odt-special-block): Don't insert annotations
using style "Text_20_body".

Thanks to Christian Moe for reporting this bug.
Bastien Guerry 12 年之前
父節點
當前提交
f09471e5d9
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      lisp/ox-odt.el

+ 1 - 3
lisp/ox-odt.el

@@ -3066,9 +3066,7 @@ holding contextual information."
 	     (date (or (plist-get attributes :date)
 		       ;; FIXME: Is `car' right thing to do below?
 		       (car (plist-get info :date)))))
-
-	(format "\n<text:p text:style-name=\"%s\">%s</text:p>"
-		"Text_20_body"
+	(format "\n<text:p>%s</text:p>"
 		(format "<office:annotation>\n%s\n</office:annotation>"
 			(concat
 			 (and author