Personally the most exciting change is multiline support for ${}. Now you can do things like this:
<a href="${url(
controller='foo',
action='bar',
id=some_id
)}">link</a>
handy !
Mako 0.3.5 is available at:
http://www.makotemplates.org/download.html
Changelog:
0.3.5
- The <%namespace> tag allows expressions
for the `file` argument, i.e. with ${}.
The `context` variable, if needed,
must be referenced explicitly.
[ticket:141]
- ${} expressions embedded in tags,
such as <%foo:bar x="${...}">, now
allow multiline Python expressions.
- Fixed previously non-covered regular
expression, such that using a ${} expression
inside of a tag element that doesn't allow
them raises a CompileException instead of
silently failing.
- Added a try/except around "import markupsafe".
This to support GAE which can't run markupsafe.
[ticket:151] No idea whatsoever if the
install_requires in setup.py also breaks GAE,
couldn't get an answer on this.
2010/10/20 Michael Bayer <mik...@zzzcomputing.com>:
> --
> You received this message because you are subscribed to the Google Groups "Mako Templates for Python" group.
> To post to this group, send email to mako-d...@googlegroups.com.
> To unsubscribe from this group, send email to mako-discuss...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mako-discuss?hl=en.
>
>
--
Alex | twitter.com/alexconrad