Fix: IDEA-49788 (Grails: Run Grails Target dialog: there is no completion for a script from user home)

This commit is contained in:
Sergey Evdokimov
2010-10-21 18:31:32 +04:00
parent 09db7c6759
commit 0b26d50083
@@ -140,13 +140,13 @@ public class XmlSplitTagAction implements IntentionAction {
final String name = xmlTag.getName();
sb.append("<root><").append(name);
if (attrs.length() > 0) {
sb.append(' ').append(attrs.toString());
sb.append(' ').append(attrs);
}
sb.append('>');
sb.append(first);
sb.append("</").append(name).append("><").append(name);
if (attrsWoId.length() > 0) {
sb.append(' ').append(attrsWoId.toString());
sb.append(' ').append(attrsWoId);
}
sb.append('>');
sb.append(second).append("</").append(name).append("></root>");