[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] export to various flavors of (X)HTML
From: |
Rick Frankel |
Subject: |
Re: [O] [PATCH] export to various flavors of (X)HTML |
Date: |
Fri, 19 Apr 2013 11:37:51 -0400 |
User-agent: |
Roundcube Webmail/0.7.1 |
On 19.04.2013 05:57, Eric Abrahamsen wrote:
I'm starting a new thread for this since the previous discussion was
buried in with something tangential.
I'm not proud of some of the implementation (self-closing vs
non-self-closing tags are ugly, and I wish org-html-html5-p and
org-html-xhtml-p were variables, not functions), but there it is, it
seems to work.
If this is deemed okay I'll send a version of the patch with a proper
commit message, and also updated documentation.
I disagree with the minimized closing patch change.
All versions of html accept the " />" idiom (with the extra space so
that html4 only browsers
don't break) for minimized tags (also "></{elem}", e.g. "<hr></hr>" is,
i believe, always valid). html5 certainly accepts valid xhtml as input.
It would entirely break e.g, nxml-mode or xsl post-processing to make
this change.
Other things that don't need to be removed for html5:
- CDATA escapes
- xmns: .. xml:lang declarations (as long as you keep the html valid
xml)
As a positive side effect, backing out these changes would simplify the
patch a lot :)
The doctype (and fix to the text/javascript closing tag) changes look
great.
rick
- [O] [PATCH] export to various flavors of (X)HTML, Eric Abrahamsen, 2013/04/19
- Re: [O] [PATCH] export to various flavors of (X)HTML,
Rick Frankel <=
- Re: [O] [PATCH] export to various flavors of (X)HTML, Eric Abrahamsen, 2013/04/19
- Re: [O] [PATCH] export to various flavors of (X)HTML, Rick Frankel, 2013/04/22
- Re: [O] [PATCH] export to various flavors of (X)HTML, Eric Abrahamsen, 2013/04/23
- Re: [O] [PATCH] export to various flavors of (X)HTML, Samuel Wales, 2013/04/23
- Re: [O] [PATCH] export to various flavors of (X)HTML, Carsten Dominik, 2013/04/23
- Re: [O] [PATCH] export to various flavors of (X)HTML, Eric Abrahamsen, 2013/04/23
- Re: [O] [PATCH] export to various flavors of (X)HTML, François Pinard, 2013/04/23
- Re: [O] [PATCH] export to various flavors of (X)HTML, Christian Wittern, 2013/04/23
- Re: [O] [PATCH] export to various flavors of (X)HTML, François Pinard, 2013/04/24
- Re: [O] [PATCH] export to various flavors of (X)HTML, Eric Abrahamsen, 2013/04/25