https://bugs.kde.org/show_bug.cgi?id=388453

            Bug ID: 388453
           Summary: XML multi-line self-closing tag doesn't decrease
                    indentation
           Product: kate
           Version: 15.12
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: indentation
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: oneorj...@gmail.com
  Target Milestone: ---

When aligning the following example XML:
<A>
<AA>
<AAA attr1="something_very_long_1"
attr2="something_very_long_2" />
</AA>
</A>

We get:
<A>
  <AA>
    <AAA attr1="something_very_long_1"
         attr2="something_very_long_2" />
    </AA>
  </A>

However the desired output would be:
<A>
  <AA>
    <AAA attr1="something_very_long_1"
         attr2="something_very_long_2" />
  </AA>
</A>
(i.e. 1 indent less for the last 2 lines)

Reproducible: Always

Similar to #330174, but the fix probably didn't cover the case of when the
self-closing tag happens to be spread over multiple lines.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to