On Thu, Nov 20, 2008 at 8:30 PM, Asiri Rathnayake <
asiri.rathnayake(a)gmail.com> wrote:
On Thu, Nov 20, 2008 at 8:17 PM, Asiri Rathnayake
<
asiri.rathnayake(a)gmail.com> wrote:
Hi Guillaume,
I can't help you much from the technical perspective. Re styles that can
be
directly mapped to XWiki 2.0 syntax, I think they should be converted to
use
that syntax. To summarize my opinion:
- When strict filtering is activated (conversion to XWiki 2.0 syntax)
- Only style attributes that can be directly mapped to wiki syntax
element should be kept
- This means that NO (% ... %) should appear
Is that fine with everyone?
Just came into my mind, what about alignments ? (of texts, images and the
like ?) Do you think they should also be ripped off when strict-filtering
is on ?
+ same question for image height & width... I'm asking these questions
because I think that sort of information should be preserved, otherwise the
document will look really strange after import.
Again, may be we should introduce another level of style filtering. So we
have 3 levels of filtering.
1. Strict filtering (Filter everything, a.k.a not a single (%%))
2. Moderate (Filter styles as much as possible but try to preserve those
formatting elements which makes the document look appealing, like alignment,
image height & width etc.)
3. Filter nothing.
This is just an idea.
- Asiri