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

Bug #611957 reported by Christopher Monsanto on 2010-07-31
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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

<%call expr="whocares">

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.

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  Edit
Everyone can see this information.

Other bug subscribers