From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [PATCH] Only use HTML5 fancy elements in HTML5 Date: Mon, 17 Aug 2015 18:51:44 +0200 Message-ID: <87h9nxdfj3.fsf@gmx.us> References: <877fot6his.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRNdh-0005vU-Dz for emacs-orgmode@gnu.org; Mon, 17 Aug 2015 12:52:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRNde-0006Kl-6d for emacs-orgmode@gnu.org; Mon, 17 Aug 2015 12:52:01 -0400 Received: from plane.gmane.org ([80.91.229.3]:50681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRNdd-0006Jy-Vv for emacs-orgmode@gnu.org; Mon, 17 Aug 2015 12:51:58 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZRNdX-0006aI-Qv for emacs-orgmode@gnu.org; Mon, 17 Aug 2015 18:51:51 +0200 Received: from 46.166.188.198 ([46.166.188.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Aug 2015 18:51:51 +0200 Received: from rasmus by 46.166.188.198 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Aug 2015 18:51:51 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, Eric Abrahamsen 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
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