mako-html-mumamo can't find the closing tag when <%call> is in the body of a tag
Bug #611957 reported by
Christopher Monsanto
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nXhtml |
In Progress
|
Medium
|
Unassigned |
Bug Description
I'm using revision 723, and this is from an emacs-Q-nxhtml session.
Open a mako-html-
<dl>
<%call expr="whocares">
stuff
</%call>
and try to indent the three %call related lines. When you get to </%call>, it will refuse to indent, citing "Unclosed tag <dl>". It doesn't work if there is a </dl> following the </%call> either.
To post a comment you must log in.
Thanks Christopher,
I think this is a bit complicated. I have to rethink the implementation of mako.
Maybe I should use the same type of implementation as in eRuby, I am not sure yet. That would mean I would have to implement some kind of indenting scheme for the mako tags (now it just depends on sub-chunks). A bit of work.
Any comments or suggestions?