Fix broken doctype tag
This commit is contained in:
parent
3eda4380ee
commit
cf271e2b5e
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ public class HTMLElement {
|
|||
StringBuilder builder = new StringBuilder ( );
|
||||
|
||||
if ( "!doctype".equalsIgnoreCase ( tagName ) ) {
|
||||
builder.append ( "<!" ).append ( tagName ).append ( " " ).append ( text ).append ( ">" );
|
||||
builder.append ( "<" ).append ( tagName ).append ( " " ).append ( text ).append ( ">" );
|
||||
for ( HTMLElement child : children ) {
|
||||
builder.append ( child.generateHTML ( ) );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue