← Back to team overview

nxhtml team mailing list archive

[Question #141907]: mako-nhxtml-mumamo-mode doesn't indent correctly

 

Question #141907 on nXhtml changed:
https://answers.launchpad.net/nxhtml/+question/141907

Description changed to:
When editing mako files, the indentation doesn't work properly for control flow statements using the "%" character.
For example, this code gets indentated like that:
       % if True:
            <br> hello </br>
            % else:
            <br> world </br>
                % endif

The % else and % endif get indentated 4 spaces forward instead of being at the same level as % if True:.
I am using emacs 23.2-r2 with the last bzr revision of nxhtml.

-- 
You received this question notification because you are a member of
nXhtml, which is an answer contact for nXhtml.