emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: [Warnings] HTML produced by new exporter
Date: Wed, 13 Feb 2013 20:28:45 +0100	[thread overview]
Message-ID: <86bobodnde.fsf@somewhere.org> (raw)
In-Reply-To: 878v6scnca.fsf@gmail.com

Hi Nicolas,

Nicolas Goaziou wrote:
> "Sebastien Vauban" writes:
>
>> I exported a simple file:
>>
>> * Marketing
>>
>> ** STRT Hire PR firm                                                   :phone:
>>
>> and ran `tidy' on it.
>>
>> It reported 2 warnings:
>>
>> 63:59: Warning: nested emphasis <span>
>> 81:126: Warning: nested emphasis <span>
>>
>> They come from the tag, once in the TOC, once in the headline:
>>
>> <li><a href="#sec-1-1">1.1. Hire PR firm&nbsp;&nbsp;&nbsp;<span
>> class="tag"><span class="phone">phone</span></span></a>
>> ...
>> <h3 id="sec-1-1"><span class="section-number-3">1.1</span> <span class="todo
>> STRT">STRT</span> Hire PR firm&nbsp;&nbsp;&nbsp;<span class="tag"><span
>> class="phone">phone</span></span></h3>
>
> I am no HTML specialist.

So am I (not).

> It is wrong? What do you suggest instead?

Trying to find information about how to solve this, I came across this post
(in French):

Lorsque HTML Tidy te dit ça, ce n'est qu'une recommandation. C'est valide syntaxiquement parlant.

  ╭──── Modified from http://forum.alsacreations.com/topic-2-2793-1-resoluBalises-span-imbriquees.html
  │
  │ HTML Tidy ne sait pas que c'est pour la présentation, et lui voit simplement :
  │
  │     <span><span>Truc</span></span>
  │
  │ Donc en fait, ton code ne comporte aucune erreur
  ╰────

The conclusion is: just a comment, no real error. Closed!

Best regards,
  Seb

-- 
Sebastien Vauban

  reply	other threads:[~2013-02-13 19:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12 15:14 [Warnings] HTML produced by new exporter Sebastien Vauban
2013-02-13 14:14 ` Nicolas Goaziou
2013-02-13 19:28   ` Sebastien Vauban [this message]
2013-02-14  9:03     ` Bastien

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=86bobodnde.fsf@somewhere.org \
    --to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).