Example: ``` <tag>|</tag> ``` Then press enter Old behaviour: ``` <tag> </tag> ``` New behaviour: ``` <tag> </tag> ``` I also added a test for it
Closes #2783