Subscribe

Indentation dont works with empty tags

  1. 2002-09-13 00:40:16 PDT
    I want to indent the following region:
    <property environment="env"/>
    <property name="dir.build" value="./build"/>

    The result looks like:
    <property environment="env"/>
    <property name="dir.build" value="./build"/>

    But i expected the following:
    <property environment="env"/>
    <property name="dir.build" value="./build"/>

    Is there any solution or do i have to write:
    <property environment="env"></property>
    <property name="dir.build" value="./build"></propert>

    Thanks,
    Torsten
  2. 2002-09-14 08:00:24 PDT
    Perhaps you are using sgml-mode when you should be using xml-mode.
  3. 2002-12-12 12:48:43 PST
    Even in xml-mode this does not work. Is there any configuration that is required?
  4. 2002-12-12 12:53:31 PST
    Sorry. Correction. In xml-mode this works. But not in JSP when custom tags are used. Is there something I can do to make this work?
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.