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