Template talk:Text diff
Lint errors
editThis template is causing missing end tag, stripped tag, and misnested tag lint errors, and it seems that this is associated with line breaks or multiple blocks in either or both of the main parameters. Here are some pages that use this templates and have such errors:
- Talk:Sri Sathya Sai International Organization: Missing end tag and Stripped tags for
<ins>...</ins>
. - Talk:IHH Healthcare: Missing end tag and Stripped tags for
<ins>...</ins>
. - Talk:Dog food: Missing end tag and Stripped tags for
<del>...</del>
. - Talk:American Foundation for Suicide Prevention: HTML5-misnesting and Stripped tags for
<ins>...</ins>
. - Template talk:Non-free 2D art: HTML5-misnesting and Stripped tags for
<ins>...</ins>
.
If this can fixed, it should be fixed. If it can't be fixed, it should be documented what markup causes these problems. —Anomalocaris (talk) 00:34, 7 October 2023 (UTC)
Jonesey95: Thank you for fixing Template:TextDiff/doc to acknowledge that this template is good for inline use only. Unfortunately, it is already widely deployed with multi-paragraph arguments, so it would be good if somebody gets this thing to work in such contexts. —Anomalocaris (talk) 22:10, 3 December 2023 (UTC)
- As you might have seen, I did some experimenting in the template sandbox and created a testcases page. It was not fruitful, for the most part. I don't know enough Lua or CSS, one of which might be able to help resolve the problem, to install a fix in the module. – Jonesey95 (talk) 23:29, 3 December 2023 (UTC)
The highlighting doesn't always match MediaWiki's
editExample: [1]
In the example, the template currently highlights "correspondence)" and the comma. However, both were untouched and should thus probably not be highlighted. MediaWiki gets it right, the template currently doesn't. ~ ToBeFree (talk) 07:09, 8 July 2024 (UTC)