org-xhtml.el: Minor fix

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

Continue commit 2e0e462d14.

Support for annotation blocks for xhtml backend still needs to
be ported.  See org-exp-blocks.el for more information.
This commit is contained in:
Jambunathan K 2011-11-13 02:24:44 +05:30
parent f48321a9ac
commit 25eefa57e4
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

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