On Wed, Jul 7, 2010 at 19:33, Ivan Levashew <[email protected]> wrote:
> Thomas Mortagne wrote:
>>> The main issue is that wiki link syntax [[ ]] does not support enough
>>> things which leads use to use html macro where we should not. See
>>
>> Forgot the link: http://jira.xwiki.org/jira/browse/XWIKI-3611
>
> No, this is not a primary concern IMHO. At least, in places where I was
> applying fixes the problem is wider. XWiki syntax lacks <div>s,
> <script>s, and instead of widening XWiki syntax I'm generally interested
> in convenient and reliable mixing wiki and html.
>
>>
>>> For the workaround, the easiest and most effective solutions currently are:
>>> 1) make sure you really need that "wiki=true"
>>> 2) make sure you can't write this link using wiki syntax
>>> 2) if you can't get rid of it put a sub {{html}} macro around the link like 
>>> in
>>> {{html wiki=true}}
>>> * some list item with a {{html}}<a
>>> href="http://another.space.toom.su/";>link</a>{{/html}}
>>> {{/html}}
>
> Yes, in my Main.Spaces I've done something like that. Wiki is only
> needed for one item. I have wrapped every uncle of this item in {{html
> wiki="false"}}
>
> http://toom.su/Spaces?viewer=code
> http://www.peeep.us/bccd02e4
>
> Another place I had to fix by hand is tagedit.vm. It constructs an AJAX
> URL pointing to Main.WebHome with "view" action.
>
> That's all for now. In other places URLs are relative and problems are
> not noticeable. I remember, the first time I saw this problem in the
> Blog Categories panel, but URLs are now relative there as well.

Would be great if you could create related issues on
http://jira.xwiki.org with your patches so that we can apply then
quickly.

>
> --
> If you want to get to the top, you have to start at the bottom
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Thomas Mortagne
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to