On Wed, Oct 7, 2009 at 8:35 AM, Hans <[email protected]> wrote:
>
> I see why the last did not work:
> 2 stars make following text bold.
> 2 stars plus space make it into unordered list item (what I wanted).
>
> so adding a space after the toc function fixes this:
> [(toc {+p} leader=*)] [[{+p}|{+title}]]

Also, make sure you are using template not fmt. Well, depends on the
situation. In the next release template.toc will have <(toc )>, so you
could do [(search fmt=toc)] just fine. But not presently.

> BTW, in function BOLTFtoc ($args, $zone='')
> i would replace
>   foreach ($myArray as $x) $out = $out . $leader;
> with
>  $out = str_repeat($leader, count($myArray));

Cool. I didn't know of that command. php4 compatible--so we're good.
I'll change it. Better still, hopefully remember it.

Cheers,
Dan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" 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/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to