mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Consecutive spaces
Change-Id: I3f51ce0a2ee0a78e56c55de94bd45796b400680d
This commit is contained in:
parent
f34b41fe3f
commit
77d5cae575
|
@ -252,6 +252,9 @@ ve.ce.TextNode.prototype.getHtml = function() {
|
|||
}
|
||||
out += closeAnnotations( close );
|
||||
|
||||
// Mulitple spaces should alternate spaces and
|
||||
out = out.replace(/ /g, ' ');
|
||||
|
||||
return out;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue