aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-06-22 19:42:12 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-06-22 19:42:12 +0300
commitcb6928f9b823c7fde746f17da4834431de452c83 (patch)
treed32b1f7afce21e6fb57829868fbf28fc8188ad30 /core/src
parentda4c7a74b532d794addc3420d2e0664486352ae9 (diff)
downloaddokka-cb6928f9b823c7fde746f17da4834431de452c83.tar.gz
dokka-cb6928f9b823c7fde746f17da4834431de452c83.tar.bz2
dokka-cb6928f9b823c7fde746f17da4834431de452c83.zip
Wrap parameters in paragraphs for HTML format
#171 fixed
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/>")