← Back to team overview

nxhtml team mailing list archive

[Question #113857]: nxhtml does not indent <? and ?> after if etc...

 

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

Description changed to:
Hi.
I know my problem is similar to https://answers.launchpad.net/nxhtml/+question/43320 but I tried to modify mumamo-submode-indent-offset as suggested and it didn't to anything. The problem is that when I got something like

<?
...
if (...) {
?>
html code here

the "?>" is not indented (and so, everything that follows !). Is there a
way to get this indented ?

Here's a screen to be more precise, you can see the problem on line 4
http://yfrog.com/c9screenthgp

I use this kind of code because I generate different html pages on one
single php file depending on $_SESSION or $_POST etc...

PS : I'm using the last emacs and nxhtml 2.08-1 on an Arch Linux
distribution (I installed the emacs-nxhtml package) with everything up
to date.

Thank you.

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