NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item1662: WysiwygPlugin corrupts nop'd nbsp

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal No Action Required Extension WysiwygPlugin  
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>;

Verbatim:
&nbsp<nop>;

Literal:
&nbsp;

-- 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:

Verbatim:
&<nop>nbsp;

Literal:
&nbsp;

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
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r3 - 19 Jun 2010, MichaelTempest
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads