emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rustom Mody <rustompmody@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: html5 generation minor bug
Date: Sat, 28 Dec 2013 07:20:12 +0530	[thread overview]
Message-ID: <CAJ+TeoesedX6Jk-sx8-9_xOsS+PrJRDX5GtnkUa2ZQG94DBjTg@mail.gmail.com> (raw)
In-Reply-To: <8738legqd2.fsf@bzg.ath.cx>

On Fri, Dec 27, 2013 at 10:53 PM, Bastien <bzg@gnu.org> wrote:
> Hi Rustom,
> Rustom Mody <rustompmody@gmail.com> 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
:CUSTOM_ID: soul
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
<h2 id="soul"><a id="sec-1" name="sec-1"></a><span
class="section-number-2">1</span> Soul</h2>
You can check for yourself
Generate the html yourself and use the validator here

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
Of course I need to add the disclaimer that I know too little to
distinguish hype from fact in web matters]



      parent reply	other threads:[~2013-12-28  1:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-27 17:20 html5 generation minor bug Rustom Mody
2013-12-27 17:23 ` Bastien
2013-12-27 18:10   ` Rick Frankel
2014-01-04 14:36     ` Bastien
2014-01-08 19:01       ` Rick Frankel
2014-01-08 23:44         ` Bastien
2013-12-28  1:50   ` Rustom Mody [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ+TeoesedX6Jk-sx8-9_xOsS+PrJRDX5GtnkUa2ZQG94DBjTg@mail.gmail.com \
    --to=rustompmody@gmail.com \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).