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
1. Post the following wikitext snippet to this [talk page](https://en.wikipedia.beta.wmflabs.org/wiki/Talk:Cats), using the new replying workflow //or// by using "Edit source". //See this [example](https://en.wikipedia.beta.wmflabs.org/w/index.php?title=Talk%3ACats&type=revision&diff=410647&oldid=410646).//
2. Notice: "red test." is published to the talk page and word "red" is bolded and the color red.
3. 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).
4. **⚠️ 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](https://www.mediawiki.org/w/index.php?title=Topic:Vcwvt3bq03o5gv8h&topic_showPostId=vd8593amh18c3myw#flow-post-vd8593amh18c3myw)
---
1. Wikitext snippet: `::{{#if:x|<span style="color:red;|<span style="}} font-weight: bold">red</span> test.`