[wp-trac] [WordPress Trac] #48464: Issues with non-breaking spaces on Windows

WordPress Trac noreply at wordpress.org
Wed Oct 30 23:17:33 UTC 2019


#48464: Issues with non-breaking spaces on Windows
--------------------------+------------------------------
 Reporter:  peexy         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * component:  General => Editor


Old description:

> Hello,
>
> I recently noticed an issue with non-breaking spaces: when inserted with
> keyboard shortcuts (like `ALT+255` on Windows or `ALTGr+<` using an
> enhanced keyboard), they seem to be removed by WordPress (or not
> interpreted as such at all).
>
> We need to add them either by typing ` ` or by pasting it from an
> external file. Which is not very convenient.
>
> With @webaxones and @audrasjb we did some digging, here's what we found:
>
> 1/ It seems to appear only on Windows (tested on Windows 10) since JB
> tested it on his Mac and couldn't reproduce it
>
> 2/ It does not seem to be browser specific since we reproduced the bug on
> Chrome 78.0.3904.70 and Firefox 70.0;
>
> 3/ It's not plugin related since I've been able to reproduce it on a
> fresh install;
>
> 4/ It's not somehow Gutenberg related since I've been able to reproduce
> it on a totally random old version: WP 4.7.7 (fresh install as well,
> haven't tried with older versions);
>
> 5/ It may be related to https://core.trac.wordpress.org/ticket/26842;
>
> 6/ Other shortcuts works fine;
>
> 7/ We tested the shortcuts on other browser-based editors (like Google
> Docs) and they work fine.
>

> As far as we know, it could be either (or both):
> - A very old issue with WordPress
> - A bug related to a change made in Windows or in browsers that affects
> how WordPress interacts with these shortcuts.
>
> Thanks,

New description:

 Hello,

 I recently noticed an issue with non-breaking spaces: when inserted with
 keyboard shortcuts (like `ALT+255` on Windows or `ALTGr+<` using an
 enhanced keyboard), they seem to be removed by WordPress (or not
 interpreted as such at all).

 We need to add them either by typing ` ` or by pasting it from an
 external file. Which is not very convenient.

 With @webaxones and @audrasjb we did some digging, here's what we found:

 1/ It seems to appear only on Windows (tested on Windows 10) since JB
 tested it on his Mac and couldn't reproduce it

 2/ It does not seem to be browser specific since we reproduced the bug on
 Chrome 78.0.3904.70 and Firefox 70.0;

 3/ It's not plugin related since I've been able to reproduce it on a fresh
 install;

 4/ It's not somehow Gutenberg related since I've been able to reproduce it
 on a totally random old version: WP 4.7.7 (fresh install as well, haven't
 tried with older versions);

 5/ It may be related to #26842;

 6/ Other shortcuts works fine;

 7/ We tested the shortcuts on other browser-based editors (like Google
 Docs) and they work fine.


 As far as we know, it could be either (or both):
 - A very old issue with WordPress
 - A bug related to a change made in Windows or in browsers that affects
 how WordPress interacts with these shortcuts.

 Thanks,

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48464#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list