From cb6928f9b823c7fde746f17da4834431de452c83 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Thu, 22 Jun 2017 19:42:12 +0300 Subject: Wrap parameters in paragraphs for HTML format #171 fixed --- core/src/main/kotlin/Formats/HtmlFormatService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src') 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("
") -- cgit