On Nov 25, 2008, at 6:00 PM, Sergiu Dumitriu wrote:
  Vincent Massol wrote:
  On Nov 25, 2008, at 2:03 PM, Vincent Massol
wrote:
  Hi,
 Do we want to honor whitespaces in table cells or not?
 The main advantage of trimming them is to get aligned cell symbols.
 See 
http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-
 Tables
 Right now we're honoring whitespaces (they are significant).
 If we want to be consistent with normal wiki text we should honor
 them
 since we're honoring spaces in wiki text. However we just need to
 agree that it won't be possible to get nicely aligned cell
 delimiters
 then.
 WDYT? 
 One consideration. Right now you have to write the following:
 |cell1|cell2|cell3
 this is not very readable IMO compared to:
 | cell1 | cell2 | cell3
 However right now since whitspaces are honored if you write the
 latter
 you'll get:
 <td> cell1 </td> in XHTML. 
 IMHO we should not use  s anywhere. +1 for letting spaces be
 spaces, and HTML can take care of them.
 If users want to preserve space formatting, they can use a style
 declaration to keep whitespace displayed. 
Sergiu this is not the way it's implemented. Right now spaces are
meaningful in xwiki, meaning that if a user puts several spaces we
consider that they want to see several spaces.
I'm pretty sure we've had this discussion in the past and it took me
quite some time to implement this right so I hope we're not going to
change it :)
Thanks
-Vincent