浏览代码

org-xhtml.el: Minor fix

* contrib/lisp/org-xhtml.el (org-xhtml-begin-environment)
(org-xhtml-end-environment): Fix param list.

Continue commit 2e0e462d1460f4a4e55e180a4f090c5db7ca63af.

Support for annotation blocks for xhtml backend still needs to
be ported.  See org-exp-blocks.el for more information.
Jambunathan K 13 年之前
父节点
当前提交
25eefa57e4
共有 2 个文件被更改,包括 4 次插入3 次删除
  1. 2 1
      contrib/lisp/org-lparse.el
  2. 2 2
      contrib/lisp/org-xhtml.el

+ 2 - 1
contrib/lisp/org-lparse.el

@@ -245,7 +245,8 @@ OPT-PLIST is the export options list."
 	;; The link protocol has a function for format the link
 	(setq rpl
 	      (save-match-data
-		(funcall fnc (org-link-unescape path) desc1 'html))))
+		(funcall fnc (org-link-unescape path)
+			 desc1 org-lparse-backend))))
 
        ((string= type "file")
 	;; FILE link

+ 2 - 2
contrib/lisp/org-xhtml.el

@@ -1403,10 +1403,10 @@ lang=\"%s\" xml:lang=\"%s\">
        (END (org-lparse-begin-paragraph))))
     (t (error "Unknown environment %s" style))))
 
-(defun org-xhtml-begin-environment (style)
+(defun org-xhtml-begin-environment (style env-options-plist)
   (org-xhtml-format-environment style 'BEGIN))
 
-(defun org-xhtml-end-environment (style)
+(defun org-xhtml-end-environment (style env-options-plist)
   (org-xhtml-format-environment style 'END))
 
 (defun org-xhtml-begin-list (ltype)