Tags:
create new tag
, view all tags

Question

The latest WYSIWYG/Kupu appears to convert some whitespace (blank lines) to & nbsp when editing using IE (6 or 7). If I edit a topic using WYSIWYG, enter several lines of whitespace by hitting enter, save, then click Raw View, I see several lines of & nbsp. This doesn't happen with the 2005 version of WYSIWYG, and it doen't happen with with the latest version of Firefox with the latest WYSIWYG.

I'd prefer the saved topic to contain only TWiki Markup.

Is there a way to disable coversion to & nbsp?

Environment

TWiki version: TWikiRelease04x01x00
TWiki plugins:  
Server OS: Debian Stable 3.1
Web server: Apache
Perl version: 5.8.4
Client OS: Windows XP SP2
Web Browser: IE6, IE7, Firefox 1.5.0.9
Categories: Plugins

-- LukeHogan - 30 Jan 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Ah, probably, in the guts of Kupu. WysiwygPlugin doesn't insert nbsp's, IIRC. Kupu has a bunch of post-processing hooks that can be used for this sort of thing, though I have never investigated them thoroughly. I'd be interested in any solution you find.

-- CrawfordCurrie - 21 Feb 2007

 
Change status to:
Topic revision: r2 - 2007-02-21 - CrawfordCurrie
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.