Sorry Chad you're right, that was a working example, try this: dev:~# tpage > output
[% link = 'http://site.com?oops' %] [% linkText = 'http://site.com?oops' %] [% ahref = '<a href="' _ link _ '">' _ linkText _ '</a>' %] [% bodyText = "Some text waiting for link insertion, http://site.com?oops" %] [% bodyText.replace(linkText, ahref) %] dev:~# cat output Some text waiting for link insertion, http://site.com?oops Tosh -- McIntosh Cooey - Twelve Hundred Group LLC - http://www.1200group.com/ _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
