Silva Issue Tracker Archive: Issue1397

 This tracker has been migrated to Launchpad. Please post new messages at:
Title cutting and pasting doesn't strip msoNormal from paragraphs
Priority bug Status chatting
Superseder (list) Nosy List aaltepet, clemens, flynt, johnny (list)
Assigned To Topics Kupu, Silva-1.6 (list)

Created on 2005-09-21.19:54:19 by aaltepet, last changed 2006-10-09.10:45:41 by flynt.

msg8771 (view) Author: flynt Date: 2006-10-09.10:45:40
This problems happens with much too many people as well here at ETH. Telling
them not to use MS Office documents for copy/paste produces loud laughter in the
case of the very nice users and other, more pronounced, comments by the others.
msg8350 (view) Author: faassen Date: 2006-02-01.10:40:08
Never got a review, so deferring.
msg8241 (view) Author: faassen Date: 2006-01-24.17:02:25
Please review this, Guido.
msg8155 (view) Author: faassen Date: 2006-01-19.14:54:33
Deferring this before the 1.5 beta.
msg7879 (view) Author: thisfred Date: 2005-11-04.18:51:56
Sorry deferring this. Guido is way too busy to fix this before 1.4 is released.
msg7781 (view) Author: johnny Date: 2005-09-29.12:04:18
I think this should be fixed on the Silva side, indeed the class should become
'normal' if it's not a known Silva class name. I thought it already worked like
that, though, will do some testing to find out why it doesn't.
msg7762 (view) Author: clemens Date: 2005-09-21.21:09:23
the second one should be implemented in any case, i feel.
how does the xslt renderer handle this, by the way?
msg7761 (view) Author: aaltepet Date: 2005-09-21.19:54:19
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 
1) Kupu should use a case-insensitive blacklist test  
2) the behavior of the paragraph widget should fallback to 'normal' on unknown 
Date User Action Args
2006-10-09 10:45:42flyntsetstatus: unread -> chatting
nosy: + flynt
messages: + msg8771
2006-09-04 12:06:46faassensetstatus: deferred -> unread
assignedto: johnny ->
2006-02-02 10:51:55faassensettopic: + Silva-1.6, - Silva-1.5
2006-02-01 10:40:09faassensetstatus: chatting -> deferred
messages: + msg8350
2006-01-24 17:02:25faassensetstatus: deferred -> chatting
messages: + msg8241
2006-01-19 14:54:34faassensetstatus: chatting -> deferred
messages: + msg8155
2005-11-04 18:51:57thisfredsettopic: + Silva-1.5, - Silva-1.4
assignedto: johnny
messages: + msg7879
2005-09-29 12:04:31johnnysettopic: + Silva-1.4, - Silva-1.3
2005-09-29 12:04:19johnnysetmessages: + msg7781
2005-09-27 15:42:48johnnysetnosy: + johnny
2005-09-21 21:09:23clemenssetstatus: unread -> chatting
messages: + msg7762
2005-09-21 21:08:21clemenssetnosy: + clemens
2005-09-21 19:54:19aaltepetcreate