View | Details | Raw Unified | Return to bug 122051
Collapse All | Expand All

(-)src/org/eclipse/wst/html/core/internal/format/HTMLFormatter.java (-2 / +3 lines)
Lines 343-350 Link Here
343
343
344
				CMElementDeclaration decl = getElementDeclaration(element);
344
				CMElementDeclaration decl = getElementDeclaration(element);
345
				if (decl != null && decl.supports(HTMLCMProperties.SHOULD_INDENT_CHILD_SOURCE)) {
345
				if (decl != null && decl.supports(HTMLCMProperties.SHOULD_INDENT_CHILD_SOURCE)) {
346
					boolean shouldIndent = ((Boolean) decl.getProperty(HTMLCMProperties.SHOULD_INDENT_CHILD_SOURCE)).booleanValue();
346
					//Commenting out next two lines inorder to have html elements properly indented 
347
					if (shouldIndent)
347
					//boolean shouldIndent = ((Boolean) decl.getProperty(HTMLCMProperties.SHOULD_INDENT_CHILD_SOURCE)).booleanValue();
348
					//if (shouldIndent)
348
						buffer.append(indent);
349
						buffer.append(indent);
349
				}
350
				}
350
351

Return to bug 122051