Page MenuHomePhabricator

VisualEditor: copying and pasting header results in non-breaking space being inserted
Closed, ResolvedPublic

Description

Input text ([[mw:VisualEditor:What A]]):


test

what is '''this''' i don't ''even''

I copy and paste this text from [[mw:VisualEditor:What A]] to [[mw:VisualEditor:What B]] and I end up with largely the same result, except an invisible non-breaking space is inserted before "test". If you view the HTML page source of [[mw:VisualEditor:What B]], it's trivial to spot:


<span class="mw-headline" id=".C2.A0test">&#160;test</span>


Version: unspecified
Severity: normal

Details

Reference
bz58563