Hi Bastien,
The following org file generates invalid HTML. The class name includes
the full email address and '@' is not an allowed character in the HTML
class name.
Here's an org file for testing
--8<---------------cut here---------------start------------->8---
#+OPTIONS: email:t
* Test file
This is a test
--8<---------------cut here---------------end--------------->8---
If you export this with C-c C-e H you get invalid HTML.
This was caused by commit
--8<---------------cut here---------------start------------->8---
commit 595379852221002726a1a1dc03ee4aebdd677423
Author: Bastien Guerry <bzg@altern.org>
Date: Fri Mar 4 16:32:10 2011 +0100
Clean handling :html-pre/postamble options wrt author/email/creator-info.
* org-html.el (org-export-html-preamble)
(org-export-html-postamble): now default to `nil'.
(org-export-as-html): when :html-pre/postamble is nil, fall
back on the default pre/postamble, which depends on the
:author-info, :email-info, :creator-info options.
* org-exp.el (org-export-plist-vars): reorder the alist.
* org.texi (Export options): better document :html-preamble
and :html-postamble: setting these options will override any
:author-info, :email-info and :creator-info options for the
HTML export.
--8<---------------cut here---------------end--------------->8---
and the problem is line 1708 in org-html.el
Maybe change @ to -at- in the classname or remove the email value
entirely?
I'm not sure what the intention was for including the email value in the
class name for this.
Regards,
Bernt
Emacs : GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
of 2010-12-11 on raven, modified by Debian
Package: Org-mode version 7.5 (release_7.5.27.gefa56)
--
Bernt