Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
can't put spaces around the = sign in <%def> tag #102
Migrated issue, originally created by Anonymous
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.