Item1662: WysiwygPlugin corrupts nop'd nbsp

Priority: Normal
Current State: No Action Required
Released In:
Target Release: n/a
Applies To: Extension
Component: WysiwygPlugin
Reported By: MichaelTempest
Waiting For:
Last Change By: MichaelTempest
Item5103 mentions escaping non-breaking spaces so that they appear as   in TMCE. I thought - what if someone did that because they wanted   to appear when the page is rendered normally? I got a surprise:

TML Foswiki renders as TMCE renders as
&nbsp<nop>; &nbsp; <nop>;



-- MichaelTempest - 24 May 2009

It seems that browsers "helpfully" decide that &nbsp is just "bad HTML" and interprets it as a non-breaking-space entity.

The solution is to move the <nop>. For example:



Closing without action

-- MichaelTempest - 19 Jun 2010

ItemTemplate edit

Summary WysiwygPlugin corrupts nop'd nbsp
ReportedBy MichaelTempest
Codebase trunk
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState No Action Required
TargetRelease n/a
Topic revision: r3 - 19 Jun 2010, MichaelTempest - This page was cached on 23 Oct 2021 - 09:40.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy