adding depends on the context. If an opening tag is present due to a wrong paste, then it should be deleted and not closed. This must be precised as a second way of fixing. Thanks. -- Christian š«š· FR (talk) 06:59, 2 December 2023 (UTC)
Help talk:Lint errors/missing-end-tag
Appearance
Possibly yes. I think editors fixing lints might be aware of this already, but feel free to update the help page if you think it might be useful to others.
To be coherent examples 2 and 3 should not be presented under this form since the closing tags are present there ... and normally do not produce de announced errors because they are already corrected. Am I wrongĀ ? Thanks. --Christian š«š· FR (talk) 06:52, 2 December 2023 (UTC)
Ya, I think more explanation there might have been helpful. <span> is a phrasing (in HTML5) or inline (in HTML4) tag. So, "<span>Foo\n\nBaz\n</span>" generates "<p><span>Foo</p>\n\n<p>Baz\n</span></p>" as output. In this output the two first span tag does indeed have a missing end tag and the one in the second paragraph has a missing opening tag and hence gets removed/stripped.
For some (user) talk pages, users want to add e.g. borders around all the content and do this by opening something like a <div style="border:1px solid gray;">
leaving it unclosed, so that all new comments appear to be inside of these borders (see an example from ptwiki). In such cases users consider it convenient to omit the end tag, because if they closed it, new comments would be after the borders, and they would need to move the end tag manually afterwards.
Is there a good/supported way to do this without introducing errors?
Why does it require closing td? I think https://www.w3.org/TR/html5/tabular-data.html#the-td-element allows it to remain not explicitly closed. --Base (talk) 16:26, 28 April 2017 (UTC)
Good observation. We'll take a look and update this appropriately. Filed https://phabricator.wikimedia.org/T171381
There are no older topics