Re: [O] [Warnings] HTML produced by new exporter

2013-02-14 Thread Bastien


Hi Sébastien,

Sebastien Vauban
wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@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

  spanspan Some text /span/span

and 

  span class=xspan class=y Some text /span/span

and suggests that there may be a duplicate tag.

-- 
 Bastien




Re: [O] [Warnings] HTML produced by new exporter

2013-02-13 Thread Nicolas Goaziou


Hello,

Sebastien Vauban
wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@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:

 lia href=#sec-1-11.1. Hire PR firmnbsp;nbsp;nbsp;span 
 class=tagspan class=phonephone/span/span/a
 ...
 h3 id=sec-1-1span class=section-number-31.1/span span class=todo 
 STRTSTRT/span Hire PR firmnbsp;nbsp;nbsp;span class=tagspan 
 class=phonephone/span/span/h3

I am no HTML specialist. It is wrong? What do you suggest instead?


Regards,

-- 
Nicolas Goaziou




Re: [O] [Warnings] HTML produced by new exporter

2013-02-13 Thread Sebastien Vauban
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:

 lia href=#sec-1-11.1. Hire PR firmnbsp;nbsp;nbsp;span
 class=tagspan class=phonephone/span/span/a
 ...
 h3 id=sec-1-1span class=section-number-31.1/span span class=todo
 STRTSTRT/span Hire PR firmnbsp;nbsp;nbsp;span class=tagspan
 class=phonephone/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 :
  │
  │ spanspanTruc/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