1. Michael Bayer
  2. mako
  3. Issues

Issues

Issue #102 resolved

can't put spaces around the = sign in <%def> tag

guest
created an issue

I ran into a hard to debug problem with Mako the other day. Running ipython 0.8.4, I ran the code in the attached functional_def_render.txt, and it worked. But, if I change <%def name="hi(name)"> to <%def name = "hi(name)">, rendering the template breaks, as seen in the broken_def_render.txt It would be awesome if Mako wasn't sensitive to spaces like this, but if it needs to be, it should at least be documented--and I didn't find mention of it anywhere.