From: Rick Frankel <rick@rickster.com>
To: emacs-orgmode@gnu.org
Cc: eric@ericabrahamsen.net
Subject: Re: [PATCH] export to various flavors of (X)HTML
Date: Fri, 26 Apr 2013 09:49:07 -0400 [thread overview]
Message-ID: <8f433f7c2e7d4892d6286afc9524d9a6@mail.rickster.com> (raw)
In-Reply-To: <871u9ytihc.fsf@ericabrahamsen.net>
On 25.04.2013 17:20, Eric Abrahamsen wrote:
> Who knew this would turn out to be such a fraught issue! All I wanted
> was that little green checkmark from the W3C...
>
> Here's what I think should be an acceptable final patch. I dropped
> the
> CDATA mess, and came up with a slightly different implementation for
> handling self-closing tags. It's maybe a little /bulkier/ than the
> previous implementation, but not so hacky, and may continue to be
> useful
> in the future. There's also a documentation patch.
Overall, looks good, but again, i would _strongly_ argue that html5
should generate valid xhtml.
If it doesn't, it will really break my post-processing workflow...
Therefore, `org-html-close-tag' should check that the doctype is not a
flavor of html4 rather than a flavor of xhtml. An alternative would be
to add ("xhtml5" . "<!DOCTYPE html>") to the doctype alist, and the
appropriate testing for being html5 and xhtml.
See the discussions of polyglot markup @
http://en.wikipedia.org/wiki/Polyglot_markup
and
http://www.w3.org/TR/2011/WD-html-polyglot-20110405/#dfn-polyglot-markup
for the rationale.
rick
next prev parent reply other threads:[~2013-04-26 13:49 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-19 9:57 [PATCH] export to various flavors of (X)HTML Eric Abrahamsen
2013-04-19 15:37 ` Rick Frankel
2013-04-20 2:59 ` Eric Abrahamsen
2013-04-23 1:00 ` Rick Frankel
2013-04-23 4:30 ` Eric Abrahamsen
2013-04-23 4:57 ` Samuel Wales
2013-04-23 6:55 ` Carsten Dominik
2013-04-23 7:54 ` Eric Abrahamsen
2013-04-23 12:09 ` François Pinard
2013-04-24 1:17 ` Christian Wittern
2013-04-24 13:10 ` François Pinard
2013-04-25 21:20 ` Eric Abrahamsen
2013-04-26 13:49 ` Rick Frankel [this message]
2013-04-26 17:14 ` Eric Abrahamsen
2013-04-26 18:49 ` Rick Frankel
2013-04-29 6:02 ` Eric Abrahamsen
2013-04-29 7:45 ` Nicolas Goaziou
2013-04-30 14:38 ` Rick Frankel
2013-04-30 14:40 ` Rick Frankel
2013-05-01 3:26 ` Eric Abrahamsen
2013-05-01 11:55 ` Rick Frankel
2013-05-02 21:07 ` Eric Abrahamsen
2013-05-03 7:17 ` Carsten Dominik
2013-05-06 5:49 ` Carsten Dominik
2013-05-06 7:36 ` Eric Abrahamsen
2013-05-06 7:48 ` Carsten Dominik
2013-05-06 9:05 ` Eric Abrahamsen
2013-05-06 12:56 ` Rick Frankel
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=8f433f7c2e7d4892d6286afc9524d9a6@mail.rickster.com \
--to=rick@rickster.com \
--cc=emacs-orgmode@gnu.org \
--cc=eric@ericabrahamsen.net \
/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).