Wikipedia:Bar/Discussioni/Passaggio da Tidy a RemexHTML: c'è del lavoro da fare: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m richiamo indice in cima
Nessun oggetto della modifica
Riga 147:
Interruzione arbitraria per riportare che Subbu e il suo team sono molto felici e colpiti dal lavoro della comunità italiana su questo progetto. Al solito, se occorre qualcosa fatecelo sapere con un ping, ma sembrate messi abbastanza bene che io quasi quasi toglierei la pagina dagli oo.ss. ... [[Utente:Elitre (WMF)|Elitre (WMF)]] ([[Discussioni utente:Elitre (WMF)|msg]]) 20:02, 24 lug 2017 (CEST)
:{{Ping|Elitre}} gentilmente, io avrei una domanda. After several tests, I've found out that <code><nowiki><cite><dl><dd>text</dd></dl></cite></nowiki></code> gets flagged as missing a cite end tag, while <code><nowiki><ref><cite><dl><dd>text</dd></dl></cite></ref></nowiki></code> does not. Why is that?--[[Utente:Sakretsu|Sakretsu]] ([[Discussioni utente:Sakretsu|炸裂]]) 21:28, 24 lug 2017 (CEST)
::{{Ping|Sakretsu}} This is just a side-effect of how references are handled. Content in article text is wrapped in paragraphs, but content in &lt;ref> tags is not wrapped in paragraphs. The problem arises you cannot add &lt;p> tags around a dl. The HTML5 parser splits the paragraph at the start of the &lt;p> tag. This in turn splits the surrounding &lt;cite> tag (or any other tag that might be there). Try <code><nowiki><ref><p><cite><dl><dd>text</dd></dl></cite></p></ref></nowiki></code>. This is the same behavior with <code><nowiki><span>\n*a\n</span></nowiki></code>. The span tag gets split and you get a lint error (missing-end-tag + stripped-tag / misnested-tag). Does this clarify the behaviour? [[Utente:SSastry (WMF)|SSastry (WMF)]] ([[Discussioni utente:SSastry (WMF)|msg]]) 22:16, 24 lug 2017 (CEST)
 
== font -> span ==