Skip to content

Commit

Permalink
Slight HTML rendering code improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgio committed Jun 23, 2024
1 parent 17d996f commit 6c6c8e6
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,10 @@ class QuarkdownHtmlNodeRenderer(context: Context) : BaseHtmlNodeRenderer(context
div("box") {
if (node.title != null) {
tag("header") {
tag("h4") {
+node.title
}
tag("h4", node.title)
}
}

+node.children

// Box style.
Expand Down

0 comments on commit 6c6c8e6

Please sign in to comment.