Skip to content

Commit d9ecab1

Browse files
committed
remove the <COMMENT> tag
1 parent 26d0484 commit d9ecab1

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/main/java/org/htmlunit/cyberneko/HTMLElements.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ public class HTMLElements implements HTMLElementsProvider {
6868
public static final short CODE = CITE + 1;
6969
public static final short COL = CODE + 1;
7070
public static final short COLGROUP = COL + 1;
71-
public static final short COMMENT = COLGROUP + 1;
72-
public static final short DATA = COMMENT + 1;
71+
public static final short DATA = COLGROUP + 1;
7372
public static final short DATALIST = DATA + 1;
7473
public static final short DEL = DATALIST + 1;
7574
public static final short DETAILS = DEL + 1;
@@ -273,8 +272,6 @@ public HTMLElements() {
273272
new Element(COL, "COL", Element.EMPTY, COLGROUP, null),
274273
// COLGROUP - O (COL)*
275274
new Element(COLGROUP, "COLGROUP", Element.CONTAINER, TABLE, new short[]{COL, COLGROUP}),
276-
// COMMENT
277-
new Element(COMMENT, "COMMENT", Element.SPECIAL, HTML, null),
278275
};
279276
elementsArray['D' - 'A'] = new Element[] {
280277
new Element(DATA, "DATA", Element.CONTAINER, BODY, null),

0 commit comments

Comments
 (0)