Skip to content

Commit

Permalink
[header] Support header comments so line breaks properly
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Nov 4, 2021
1 parent 46b0b95 commit eed16e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/jsoup/nodes/Comment.java
Expand Up @@ -42,7 +42,8 @@ void outerHtmlHead(Appendable accum, int depth, Document.OutputSettings out) thr
accum
.append("<!--")
.append(getData())
.append("-->");
.append("-->")
.append("\n");
}

void outerHtmlTail(Appendable accum, int depth, Document.OutputSettings out) {}
Expand Down

0 comments on commit eed16e4

Please sign in to comment.