(resending since I got a failure from xwiki's mail content filter )
---------- Forwarded message ----------
From: Vincent Massol <vincent(a)massol.net>
Date: Sun, Jul 26, 2009 at 12:08 PM
Subject: Re: [xwiki-devs] [VOTE] What to do with RawBlock in plain
text renderer ?
To: XWiki Developers <devs(a)xwiki.org>
On Jul 26, 2009, at 11:52 AM, Thomas Mortagne wrote:
Hi devs,
We need to decide what to do with html macro content (or any other
RawBlock content) in plain text renderer.
For me the rule of plain text renderer should be to print anything we
are able to print which mean printing any pure text content and skip
styles for which obviously we don't have syntax. RawBlock content is
pure text so we should print it.
Note that first version of plain text renderer was printing html
content and it was lost when introducing RawBlock.
Here is my +1 for printing RawBlock content in plain text renderer.
-1 for now (I can be convinced to change it): RawBlock is very special
and should only be interpreted by renderers which understand the raw
syntax. The plain text renderer shouldn't understand any syntax IMO.
I'd like to see a real use case before changing my -1 to a +1.
Right now if a page has for example a form to create a new type of
page and this page is output in plain text, I will not want to see the
HTML printed as content. It doesn't make sense to me.
Thanks
-Vincent