From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Only use HTML5 fancy elements in HTML5
Date: Mon, 17 Aug 2015 18:51:44 +0200 [thread overview]
Message-ID: <87h9nxdfj3.fsf@gmx.us> (raw)
In-Reply-To: 877fot6his.fsf@ericabrahamsen.net
Hi,
Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> Currently, if the global variable `org-html-html5-fancy' is t, some
> elements of HTML export will use fancy elements even when not exporting
> to HTML5 at all.
>
> Specifically, the TITLE of a document will be wrapped in <header> tags,
> even when exporting to XHTML4. I ran into this while making some epub
> files and the syntax checker barked at me.
>
> This patch fills out the check. There's growing redundancy in this file
> now -- if it seems desirable to have a `org-html-html5-fancy-p' function
> that encapsulates the paired checks, I'd be happy to provide that.
Remind me, do we have a "non-fancy" HTML5 mode?
I think it's better to introduce a new function to check if fancy HTML5.
This would make it easier to adhere to the docstring of
org-html-html5-fancy:
"This variable is ignored for anything other than HTML5 export"
Thanks,
Rasmus
--
This is the kind of tedious nonsense up with which I will not put
next prev parent reply other threads:[~2015-08-17 16:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-17 15:50 [PATCH] Only use HTML5 fancy elements in HTML5 Eric Abrahamsen
2015-08-17 16:51 ` Rasmus [this message]
2015-08-18 0:49 ` Eric Abrahamsen
2015-08-18 16:00 ` Bastien
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=87h9nxdfj3.fsf@gmx.us \
--to=rasmus@gmx.us \
--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).