emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Org mode release 6.04


From: Levin Du
Subject: Re: [Orgmode] Org mode release 6.04
Date: Wed, 28 May 2008 14:34:33 +0800

2008/5/28 Carsten Dominik <address@hidden>:
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
<content>
* title1
* title2
<example>
good day
</example>
--8<----8<--

There's no empty line or others contents after <example>...</example> block.
After export (C-c C-e , the </pre> closing tag is missing:
--8<-----8<---
<div id="outline-container-2" class="outline-2">
<h2 id="sec-2">2 title2</h2>
<div id="text-2">

<p><pre>
  good day
</p></div>
</div>
--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 "<pre>\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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]