Closed Jie1466803079 closed 2 years ago
@Jie1466803079 the GenerateTag
is a mistake that slipped into commit acf6bff7. It does not exist in the HTML Standard and is planned for removal.
The <command>
element is also not part of the standard. It was only included in drafts, and I cannot find any browsers that support it.
If, for any reason, you need to create elements with these names you can use TagCreator.tag(...)
and TagCreator.emptyTag(...)
to create custom named elements.
Also, a follow up question. Where did you find version 1.5.1? We have not yet made a release with that version number.
The
I'm using version 1.5.1 of j2html which is supposed to support the new tags of HTML5. However, I cannot create the tag. Besides, there is a class named GenerateTag in the tags-specialized package, which means j2html should be allowed to create the tag. However, I cannot create this tag either.
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
public final class GenerateTag extends ContainerTag {
public GenerateTag() {
super("generate");
}
}