On Wed, May 27, 2009 at 18:29, Guillaume Lerouge <[email protected]> wrote:
> Hi,
>
> On Wed, May 27, 2009 at 6:21 PM, Pascal Voitot
> <[email protected]>wrote:
>
>> On Wed, May 27, 2009 at 6:16 PM, Vincent Massol <[email protected]>
>> wrote:
>>
>> >
>> > On May 27, 2009, at 6:13 PM, Pascal Voitot wrote:
>> >
>> > > Hello again,
>> > >
>> > > I write something like:
>> > >
>> > > (% style="somestyle" %)
>> > > (((
>> > > my embedded wikipage
>> > > )))
>> > >
>> > > the style is not applied to the <div> surrounding the embedded
>> > > wikipage.
>> > > Is it normal or is it a bug?
>> >
>> > It should work AFAIK. What version of core?
>> >
>>
>> this is my strange 1.9-snapshot...
>> I'm going to use 1.9 RC1 asap but I need to recompile it with derby and I'm
>> lazy :)
>>
>> and does
>>
>> * (% style="mystyle" %)(((
>> embedded content
>> )))
>>
>> works?
>>
>
> Nope, it doesn't seem to work.

This is because list item is inline content so (% style="mystyle" %)
is used as formating for inline content. It's the same with
paragraphs. For example

* (% style="color: green;" %)embedded content

will put the text in green

Now we could maybe force the parser to consider this syntax as custom
parameters if it's followed by embedded document syntax but it's less
natural for the parser.

>
> Guillaume
>
>
>>
>>
>>
>> >
>> > Thanks
>> > -Vincent
>> >
>> > _______________________________________________
>> > devs mailing list
>> > [email protected]
>> > http://lists.xwiki.org/mailman/listinfo/devs
>> >
>> _______________________________________________
>> devs mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/devs
>>
>
>
>
> --
> Guillaume Lerouge
> Product Manager - XWiki
> Skype ID : wikibc
> http://guillaumelerouge.com/
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



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

Reply via email to