This task is about resolving an issue where templates can become expanded when someone switches from the Reply tool's source mode to its visual mode.
Behavior
- Visit: https://en.wikipedia.org/wiki/User_talk:PPelberg_(WMF)/sandbox?dtenable=1
- Click any "Reply" link
- Type the following in the tool's source mode:
Hello {{quote|world}}
- Switch the tool's visual mode
- Switch back to the tool's source mode
Actual
- ❗️Notice the source mode contains the following: Hello {{quote|world}}<blockquote class="templatequote">world</blockquote>
Expected
- ✅Notice the source mode contains the following:
Hello {{quote|world}}