tal/petal naming bug?
Kevin Teague <kteague-9/[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.petal |
|---|---|
| Message-ID | <[email protected]> |
Is the following a known bug in Petal?
<html>
<body>
<div metal:use-macro="foo.pt#bar" />
</body>
</html>
And then within the foo.pt macro:
<div metal:define-macro="bar">
<p tal:content="somevar" />
<p metal:content="somevar" />
</div>
Only the second paragraph works, it seems that within a macro Petal only
recognizes the "petal:" syntax and not the "tal:" syntax.
Also, thanks for implementing the metal:define-macro and metal:use-macro
functions, these make writting larger TAL sites much nicer.
- Kevin Teague
Web Developer
Canada's Michael Smith Genome Sciences Centre