Hi,

>
> > So 'strict filtering' --> no (%%)
>
> Then I don't see it's purpose. It's really rare to have an XHTML with
> attribute-less tags. Title, alt, class, id are just a few of the common
> XHTML attributes that go inside (%%) in XWiki syntax.
>
> Basically you're saying that passing a hand-written XHTML page to the
> office importer/cleaner removes all my attributes beside src on images
> and href on link. Why would I need such a filter?
>

The purpose of officeimporter is not to process xhtml documents but office
documents. Yes, _currently_ 'strict filter' only allows those few attributes
that are mandatory for preserving the _content_ of the original office
document, not it's presentation.

This is exactly why I included a 'moderate' filter... which keeps the wiki
output not being out-of-shape with the original document.

Thanks.

- Asiri
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to