Silva Issue Tracker Archive: Message7761

 This tracker has been migrated to Launchpad. Please post new messages at: https://bugs.launchpad.net/silva.
Author aaltepet
Recipients aaltepet
Date 2005-09-21.19:54:19
Content
It appears that kupu (in commin/kupucontentfilters.js, around line 440) does have 
a blacklist of mso classnames to filter out, but they are case-sensitive.  We have 
documents our users are pasting from that have a different cases than the defined 
(e.g. msoNormal instead of MsoNormal as paragraph class attribute).  Cutting 
and pasting (and saving) in kupu works fine, but the paragraph widget renderer 
(both edit and view) don't understand the class (expecting one of the standard 
silva styles) and hence skips rendering that content. 
 
This is in Silva1.3 (actually, guido-kupu-1_3-branch) and a recent checkout of 
kupu trunk 
 
So: 
1) Kupu should use a case-insensitive blacklist test  
AND/OR 
2) the behavior of the paragraph widget should fallback to 'normal' on unknown 
classes.
History
Date User Action Args
2005-09-21 19:54:19aaltepetsetrecipients: + aaltepet
2005-09-21 19:54:19aaltepetsetmessageid: <1127328859.35.0.894785700487.issue1397@infrae.com>
2005-09-21 19:54:19aaltepetlinkissue1397 messages
2005-09-21 19:54:19aaltepetcreate