Page MenuHomePhabricator

VisualEditor shows non-breakable spaces inconsistently
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Paste the string "Some text bunch of text. More text." into VisualEditor. Every space here is a NBSP, though some of them are written as a HTML mnemonic and some of them are just Unicode characters.
  • Observe that only   are shown as grey marks in VisualEditor:

image.png (245×45 px, 1 KB)

  • All of them should show in the same way.

Note this is of a bigger concern in ruwiki, as there is a rule that NBSPs should be written as just Unicode chars and not " " and there is a gadget automatically converting   to " ".

Related: T96666