mako-html-mumamo can't find the closing tag when <%call> is in the body of a tag

Bug #611957 reported by Christopher Monsanto
6
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-mumamo-mode buffer and type

<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.

Revision history for this message
lborgman (lennart-borgman) wrote :

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?

Changed in nxhtml:
importance: Undecided → Medium
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.