emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Øyvind Stegard" <oyvinst@ifi.uio.no>
To: emacs-orgmode@gnu.org
Subject: XHTML export - Upper case <COL> tag is invalid XHTML
Date: Tue, 30 Oct 2007 13:47:13 +0100	[thread overview]
Message-ID: <1193748433.7431.8.camel@blackelf> (raw)

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	other threads:[~2007-10-30 12:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1193748433.7431.8.camel@blackelf \
    --to=oyvinst@ifi.uio.no \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).