Marius Dumitru Florea wrote:
Thomas Mortagne wrote:
> Hi devs,
>
> We have to make a decision about that.
>
> So here are the proposals:
>
> 1) remove the block leading and trainling spaces
> * The main goal is to make source formatting for tables for example
> more readable
>
> 2) make the spaces inside paragraph non meaningfull
> * Meaning an HTML like behavior where multiple spaces give one space
>
> 3) in case of 1) or 2) use ~<space> as non breaking space
>
> WDYT ?
-0, the users will blame the WYSIWYG for messing up their nicely
formatted table/lists/etc. when switching between the editors. This will
make the WYSIWYG unusable for a wiki syntax user.
Why? The renderer should leave spaces as they are, the WYSIWYG editor
should not care about them, and the parser should just leave white space
alone. ~space is the only one that must be transformed and treaded
specially.
The wysiwyg is sending back the rendered html modified i.e. without
non-meaningful spaces => the spaces added for nice wiki formatting will be lost.