* [Warnings] HTML produced by new exporter
@ 2013-02-12 15:14 Sebastien Vauban
2013-02-13 14:14 ` Nicolas Goaziou
0 siblings, 1 reply; 4+ messages in thread
From: Sebastien Vauban @ 2013-02-12 15:14 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Hello,
I exported a simple file:
--8<---------------cut here---------------start------------->8---
#+TITLE: Example of Tasks
#+AUTHOR: Sebastien Vauban
#+Time-stamp: <2013-02-12 Tue 16:04>
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE: en
* Marketing
** STRT Hire PR firm :phone:
--8<---------------cut here---------------end--------------->8---
and ran `tidy' on it.
It reported 2 warnings:
--8<---------------cut here---------------start------------->8---
63:59: Warning: nested emphasis <span>
81:126: Warning: nested emphasis <span>
--8<---------------cut here---------------end--------------->8---
They come from the tag, once in the TOC, once in the headline:
--8<---------------cut here---------------start------------->8---
<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>
--8<---------------cut here---------------end--------------->8---
Best regards,
Seb
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Warnings] HTML produced by new exporter
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
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2013-02-13 14:14 UTC (permalink / raw)
To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ
Hello,
"Sebastien Vauban"
<wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> writes:
> I exported a simple file:
>
> #+TITLE: Example of Tasks
> #+AUTHOR: Sebastien Vauban
> #+Time-stamp: <2013-02-12 Tue 16:04>
> #+DESCRIPTION:
> #+KEYWORDS:
> #+LANGUAGE: en
>
> * 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. It is wrong? What do you suggest instead?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Warnings] HTML produced by new exporter
2013-02-13 14:14 ` Nicolas Goaziou
@ 2013-02-13 19:28 ` Sebastien Vauban
2013-02-14 9:03 ` Bastien
0 siblings, 1 reply; 4+ messages in thread
From: Sebastien Vauban @ 2013-02-13 19:28 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Warnings] HTML produced by new exporter
2013-02-13 19:28 ` Sebastien Vauban
@ 2013-02-14 9:03 ` Bastien
0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2013-02-14 9:03 UTC (permalink / raw)
To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ
Hi Sébastien,
"Sebastien Vauban"
<wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> writes:
> The conclusion is: just a comment, no real error. Closed!
IIUC, and to make sure everyone understands: HTML Tidy doesn't
distinguish between
<span><span> Some text </span></span>
and
<span class="x"><span class="y"> Some text </span></span>
and suggests that there may be a duplicate tag.
--
Bastien
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-14 9:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2013-02-14 9:03 ` Bastien
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.