|
From: | Jason Rumney |
Subject: | Re: Indentation contest nxml vs xml-mode |
Date: | Thu, 06 Mar 2008 22:18:36 +0000 |
User-agent: | Thunderbird 2.0.0.12 (Windows/20080213) |
Drew Adams wrote:
Try indenting the following in nxml-mode and xml-mode: <outermost> <inner1><inner2> <inner3>Duh</inner3> </inner2> </inner1> </outermost> I think xml-mode wins here.
This has been discussed here before. Try it with some real elements... <html> <body><b> <i>Duh</i> </b> </body> </html> Which indentation looks more correct now?nxml's indentation is based on the fact that you are using <inner2> in a way that suggests that it has inline, not block semantics.
[Prev in Thread] | Current Thread | [Next in Thread] |