This task is about answering three questions related to the scenario described below...
Questions
- Why does parsoid strip the </span> tag from the wikitext snippet [1]?
- Assuming we deem it important to fix this issue, what would be involved with doing so?
- Meta: are issues like this one resolvable on a case-by-case basis or is it a fundamental limitation of Parsoid?
Scenario
- Post the following wikitext snippet to this talk page, using the new replying workflow or by using "Edit source". See this example.
- Notice: "red test." is published to the talk page and word "red" is bolded and the color red.
- Reply to the edit you made in "1." using the reply tool (it doesn't seem to matter what content you include in this reply).
- ⚠️ Notice: the red styling spills down to the end of the section
Additional context
For additional context, this issue was initially reported on-wiki, here: Topic:Vcwvt3bq03o5gv8h
- Wikitext snippet: ::{{#if:x|<span style="color:red;|<span style="}} font-weight: bold">red</span> test.