You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Online

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

#115626 the usage of ||$nbsp;|| ?

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Tuesday, 19 December 2023 16:45 GMT

HGH
Hi,

I think there is a bug with the usage of the ||$nbsp;|| char.

Often it is inserted into the html-code automatically, even though the user did not initiate it - e.g. by inserting it via the icon bar.
You can see it clearly in the attached screenshot. https://www.screenpresso.com/=b9AFd
In all cases, it is sufficient to insert a simple ||space|| instead of ||$nbsp;||.

Please check the usage in JCE. !
An ||$nbsp;|| character should only be inserted, if the user writes/codes it, or inserts it via the icon bar.

PS: I wrote the $ instead & in front of ||$nbsp;||, to prevent code resolution

Ryan
HTML syntax requires that multiple spaces between tags are inserted as non-breaking spaces, which is what happens when you press the space bar multiple times. When you press backspace to remove these spaces, you can still end up with a single non-breaking space instead of a "normal" whitespace character.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

HGH
I don't remember to do so with the backspace-key..
The non-breaking spaces are obviously inserted by JCE itself.

Ryan
[quotePost id="115638"]I don't remember to to so with the backspace-key..
The non-breaking spaces are obviously inserted by JCE itself.[/quotePost]

I'm not seeing this in my tests.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.