Sorry for the silly question, it is of course documented:

http://webpy.org/templetor

The relevant line of my template code needed to end with a backslash:

$for path in paths: <a href="$path[0]">$path[1]</a>\

-Sam

On Nov 19, 3:21 pm, Samuel Montgomery-Blinn <[EMAIL PROTECTED]> wrote:
> Template code:
>
> $def with (paths)
>
> <p class="header">
>
> $for path in paths: <a href="$path[0]">$path[1]</a>
>
> </p>
>
> Expected output:
>
> <p class="header">
>
> <a href="/'>caveman.org:/</a><a href="/cave/">cave/</a>
>
> </p>
>
> Actual output:
>
> <p class="header">
>
> <a href="/">caveman.org:/</a>
> <a href="/cave/">cave/</a>
>
> </p>
>
> Guessing I have some user error; what am I doing wrong?
>
> -Sam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to