Author: scabanovich
Date: 2011-08-12 16:46:53 -0400 (Fri, 12 Aug 2011)
New Revision: 33863
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/DefaultElementGenerator.java
Log:
JBIDE-9538
https://issues.jboss.org/browse/JBIDE-9538
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/DefaultElementGenerator.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/DefaultElementGenerator.java 2011-08-12
20:41:36 UTC (rev 33862)
+++
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/DefaultElementGenerator.java 2011-08-12
20:46:53 UTC (rev 33863)
@@ -61,19 +61,15 @@
}
}
- if(tagName.indexOf(':') > 0) { //TODO html case, old kb had specific
method
- if(valueProvider.canHaveBody()) {
- tagText
- .append(">") //$NON-NLS-1$
- .append("</") //$NON-NLS-1$
- .append(fullName);
- } else {
- tagText
- .append("/"); //$NON-NLS-1$
- }
- }
- tagText
- .append(">"); //$NON-NLS-1$
+ if(valueProvider.canHaveBody()) {
+ tagText
+ .append(">") //$NON-NLS-1$
+ .append("</") //$NON-NLS-1$
+ .append(fullName);
+ } else {
+ tagText.append("/"); //$NON-NLS-1$
+ }
+ tagText.append(">"); //$NON-NLS-1$
} else {
tagText