aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/kotlin/Formats/HtmlFormatService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Formats/HtmlFormatService.kt b/core/src/main/kotlin/Formats/HtmlFormatService.kt
index b6672434..5e05f51a 100644
--- a/core/src/main/kotlin/Formats/HtmlFormatService.kt
+++ b/core/src/main/kotlin/Formats/HtmlFormatService.kt
@@ -46,7 +46,7 @@ open class HtmlOutputBuilder(to: StringBuilder,
override fun appendParagraph(body: () -> Unit) =
wrapInTag("p", body, newlineBeforeOpen = true, newlineAfterClose = true)
- override fun appendSoftParagraph(body: () -> Unit) = body()
+ override fun appendSoftParagraph(body: () -> Unit) = appendParagraph(body)
override fun appendLine() {
to.appendln("<br/>")