List of steps to reproduce (step by step, including full links if applicable):
- Open the discussiontools (reply or new topic)
- Select source mode
- enter <nowiki>~~~~</nowiki>
- Change to visual mode
What happens?:
<span data-dtsignatureforswitching="1"></span> appears in the editor. When changing back to source, code is:
<nowiki><span data-dtsignatureforswitching="1"></span></nowiki>
What should have happened instead?:
~~~~ should appear instead. When changing back to source, it should be the original
<nowiki>~~~~</nowiki>