emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] XHTML has no ...


From: Sebastian Rose
Subject: [Orgmode] XHTML has no ...
Date: Fri, 19 Dec 2008 02:35:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Hi,


found some errors in publishing. I find them once in a while when
rescanning my exported XHTML-files for my little search engine here: 
http://github.com/SebastianRose/org-search.php/tree/master



* XHTML has no...

 - ... attribut `name' in `<a name="'. `id' is enough for anchors.
   Right now we have:

      <a name="s" id="s">...

   Should be:

     <a name="s" id="s">...
   

 - `Element pre is not declared in p list of possible children'
    means no `<pre>' allowed inside a `<p>' element (close-par-maybe ??)



* Opening and ending tag mismatch: p line 1837 and div in 
/home/sebastian/develop/htdocs/org-notes/Emacs/org-mode.html, line: 1838

  <img src="ditaa-all-examples.png"  alt="ditaa-all-examples.png">

  should be

  <img src="ditaa-all-examples.png"  alt="ditaa-all-examples.png" />

diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index 32a917f..9b4bb70 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -3716,7 +3716,7 @@ lang=\"%s\" xml:lang=\"%s\">
           (attr (org-find-text-property-in-string 'org-attributes src))
           (label (org-find-text-property-in-string 'org-label src)))
       (format "<div %sclass=\"figure\">
-<p><img src=\"%s\"%s></p>%s
+<p><img src=\"%s\"%s /></p>%s
 </div>"
              (if label (format "id=\"%s\" " label) "")
              src


Regards,

--
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Http:  www.emma-stil.de

reply via email to

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