Hi,

I tried with Trac 0.13dev-r10909 the following Wiki and worked
flawlessly (also highlighting in PageOutline-macro):
= [[span(Sandbox, style=background-color: yellow)]] =

Thanks,
Franz


On 3 Jan., 23:39, Christian Boos <[email protected]> wrote:
> On 10/27/2011 11:43 PM, Christian Boos wrote:
>
>
>
>
>
>
>
>
>
> > On 10/27/2011 9:27 AM, Franz wrote:
> >> Hi,
>
> >> when I edit some Wiki page or ticket in Trac like this:
> >> = The [[span(Sandbox, style=background-color: yellow)]] =
>
> ...
> >> Is this behavior a (known) bug? Or was the span macro not intended for
> >> headers?
>
> > It's a known limitation, yes. ...
>
> > Ok, so here's a patch that implements this. It also illustrates how a
> > macro can sometimes produce inline content, sometimes not (here the
> > TicketQueryMacro, producing inline content for the count and compact
> > format). In addition, if a macro wants to adapt its generated content to
> > the current expected output, it could look at the type of the formatter.
> > But in general it should be the other way round: the macro generates
> > some content, and the formatter adapts to it.
>
> Btw, I still have the corresponding patch series aging on my laptop...
> and I'd like to commit that. OK?
>
> -- Christian

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to