From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Frankel Subject: Re: html5 generation minor bug Date: Wed, 08 Jan 2014 14:01:47 -0500 Message-ID: References: <8738legqd2.fsf@bzg.ath.cx> <87mwjbstj5.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0yO7-000054-Oo for emacs-orgmode@gnu.org; Wed, 08 Jan 2014 14:02:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0yO1-0004UV-Pi for emacs-orgmode@gnu.org; Wed, 08 Jan 2014 14:01:59 -0500 In-Reply-To: <87mwjbstj5.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org Bastien- On 2014-01-04 09:36, Bastien wrote: > I will look at making this the default when i have time if the doctype > is html5 (`org-html-html5-p' is true), but it requires some work to > get the info structure passed down to `org-html--anchor'. > > Sure -- please let us know when you have more time for this, > I'll not touch anything in this area. Re-visiting this, it seems to me that there is really --- with current browsers --- no reason to default to having both a name and id attribute on anchors (`org-html-allow-name-attribute-in-anchors' t). Having both is a throwback to early browsers (ie6 anyone :) that wouldn't recognize the id attribute on anchors. Changing the default to nil, would fix the issue with html5 without, i believe, having any negative effect on (x)html4 output. Agreed? rick