[Top][All Lists]

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

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

From: Eric Abrahamsen
Subject: [O] [PATCH] Only use HTML5 fancy elements in HTML5
Date: Mon, 17 Aug 2015 23:50:35 +0800
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

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.


Attachment: 0001-Only-use-HTML5-fancy-elements-in-HTML5.patch
Description: Text Data

reply via email to

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