mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Allow lang completion only for html tag
This commit is contained in:
@@ -117,7 +117,7 @@ public class HtmlCompletionContributor extends CompletionContributor implements
|
||||
if ("target".equals(name) || "formtarget".equals(name)) {
|
||||
return TARGET;
|
||||
}
|
||||
else if ("lang".equals(name) || "xml:lang".equals(name)) {
|
||||
else if (tagName.equalsIgnoreCase("html") && ("lang".equals(name) || "xml:lang".equals(name)) ) {
|
||||
return LANG;
|
||||
}
|
||||
else if ("enctype".equals(name)) {
|
||||
|
||||
Reference in New Issue
Block a user