From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rustom Mody Subject: Re: html5 generation minor bug Date: Sat, 28 Dec 2013 07:20:12 +0530 Message-ID: References: <8738legqd2.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vwj2x-0007rB-Rt for emacs-orgmode@gnu.org; Fri, 27 Dec 2013 20:50:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vwj2w-0006eo-Bz for emacs-orgmode@gnu.org; Fri, 27 Dec 2013 20:50:35 -0500 In-Reply-To: <8738legqd2.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 On Fri, Dec 27, 2013 at 10:53 PM, Bastien wrote: > Hi Rustom, > > Rustom Mody writes: > >> When the html-doctype is set to html5 the generator still generates >> name attributes in links which is not correct html5 >> http://dev.w3.org/html5/markup/a.html#a-constraints > > Can you give an example of what it does and what it should do? Heres an org-file: -------------- #+TITLE: Quotes and References #+OPTIONS: toc:nil * Soul :PROPERTIES: :CUSTOM_ID: soul :END: Nobel prize winner Wislawa Szymborska's poem on [[http://www.poemhunter.com/poem/a-few-words-on-the-soul/][the soul]] is a poet's way of showing how dualistic our habitual thinking is -------------- This is as far as I can see the offending line produced by html generation --------------

1 Soul

-------------- You can check for yourself Generate the html yourself and use the validator here http://validator.w3.org/check Note 1. there are warnings, not errors Note 2. Ive just cut out one sample from a file of mine. I could cut down further emacs version 24.3.1 org-version 8.2.4 emacs started with -Q org put into path then execute (setq org-html-doctype "html5") [On another note choosing xhtml doctype in 2013 seems a strange default given that xhtml is one of those standards that 'never happened' http://news.cnet.com/8301-17939_109-10281477-2.html Of course I need to add the disclaimer that I know too little to distinguish hype from fact in web matters] Regards Rusi -- http://www.the-magus.in http://blog.languager.org