[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [Warnings] HTML produced by new exporter
From: |
Sebastien Vauban |
Subject: |
Re: [O] [Warnings] HTML produced by new exporter |
Date: |
Wed, 13 Feb 2013 20:28:45 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.93 (windows-nt) |
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 <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 <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