Remove manual tags, use only generated tags

- change html, head, body from manual to generated tags
- restore compatibility with j2html 1.4.0
- fix https://github.com/tipsy/j2html/issues/185
This commit is contained in:
Oliver Becker
2021-06-12 12:29:08 +02:00
parent afd00597f7
commit 56f61e421f
11 changed files with 74 additions and 160 deletions

View File

@@ -96,7 +96,7 @@ public final class TagCreatorCodeGenerator {
"bdi",
"bdo",
"blockquote",
//"body" BodyTag is managed manually,
"body",
"button",
"canvas",
"caption",
@@ -124,9 +124,9 @@ public final class TagCreatorCodeGenerator {
"h4",
"h5",
"h6",
//"head", HeadTag is managed manually
"head",
"header",
//"html" HtmlTag is managed manually
"html",
"i",
"iframe",
"ins",