emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] XHTML export - Upper case <COL> tag is invalid XHTML


From: Øyvind Stegard
Subject: [Orgmode] XHTML export - Upper case <COL> tag is invalid XHTML
Date: Tue, 30 Oct 2007 13:47:13 +0100

Hi,

XML and therefore XHTML is case sensitive with regard to tag names.
Org-mode version 5.13h generates upper-case COL tags in XHTML-export,
which is invalid. The tag should be in lowercase. The patch below should
fix it.

--- org.el.orig 2007-10-30 13:34:18.000000000 +0100
+++ org.el      2007-10-30 13:30:40.000000000 +0100
@@ -24127,11 +24127,11 @@
     (unless splice (push "</table>\n" html))
     (setq html (nreverse html))
     (unless splice
-      ;; Put in COL tags with the alignment (unfortuntely often ignored...)
+      ;; Put in col tags with the alignment (unfortuntely often ignored...)
       (push (mapconcat
             (lambda (x)
               (setq gr (pop org-table-colgroup-info))
-              (format "%s<COL align=\"%s\"></COL>%s"
+              (format "%s<col align=\"%s\"></col>%s"
                       (if (memq gr '(:start :startend))
                           (prog1
                               (if colgropen "</colgroup>\n<colgroup>" 
"<colgroup>")


Regards,
Øyvind Stegard

PS. I'm not a list subscriber, and only a light-weight org-mode user.
-- 
< Øyvind Stegard < oyvinst at ifi uio no >
 < http://www.oyvind.nu/





reply via email to

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