2008/5/28 Carsten Dominik : > Fixed thanks. > > I cannot make an error message when you have misspelled a tag, because Org > cannot know > if you have inserted that string on purpose. > > But the loop is fixed now, and I am using now contents instead of content. > > - Carsten Thank you for your quick response and fix. I confirmed that's OK now. And I thought I have fixed a little bug in org-export-as-html. See this test file: --8<----8<-- #+TITLE: this is the title * title1 * title2 good day --8<----8<-- There's no empty line or others contents after ... block. After export (C-c C-e , the closing tag is missing: --8<-----8<---

2 title2

  good day

--8<----8<--- Here's the patch: diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 4637e8e..461ec3d 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -2666,7 +2666,7 @@ lang=\"%s\" xml:lang=\"%s\"> (setq infixed t) (insert "
\n"))
     (insert (org-html-protect (match-string 1 line)) "\n")
-    (when (and lines
+    (when (or (null lines)
        (not (string-match "^[ \t]*\\(:.*\\)"
   (car lines))))
       (setq infixed nil)

- Levin