emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] Only use HTML5 fancy elements in HTML5


From: Rasmus
Subject: Re: [O] [PATCH] Only use HTML5 fancy elements in HTML5
Date: Mon, 17 Aug 2015 18:51:44 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Hi,

Eric Abrahamsen <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]