← Back to team overview

nxhtml team mailing list archive

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

 

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

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

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