[361738] Template proposal doesn't show correctly if the HTML tag has the "i" letter.
diff --git a/bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/internal/contentassist/HTMLMinimalContentModelGenerator.java b/bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/internal/contentassist/HTMLMinimalContentModelGenerator.java index 0bdd85f..5614468 100644 --- a/bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/internal/contentassist/HTMLMinimalContentModelGenerator.java +++ b/bundles/org.eclipse.wst.html.ui/src/org/eclipse/wst/html/ui/internal/contentassist/HTMLMinimalContentModelGenerator.java
@@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2010 IBM Corporation and others. + * Copyright (c) 2004, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -10,6 +10,8 @@ *******************************************************************************/ package org.eclipse.wst.html.ui.internal.contentassist; +import java.util.Locale; + import org.eclipse.core.runtime.Platform; import org.eclipse.wst.html.core.internal.HTMLCorePlugin; import org.eclipse.wst.html.core.internal.contentmodel.HTMLElementDeclaration; @@ -79,12 +81,12 @@ switch (caseVal) { case HTMLCorePreferenceNames.LOWER : { - name = name.toLowerCase(); + name = name.toLowerCase(Locale.US); } break; case HTMLCorePreferenceNames.UPPER : { - name = name.toUpperCase(); + name = name.toUpperCase(Locale.US); } break; }