aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-08-19 13:01:08 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-19 13:34:10 +0200
commitccb4e08b82d9c60f3c5cdf7cb2b7f7e5da93976b (patch)
tree562f34d4830e930da069ffa78a8e1b38554e87cc /plugins
parent626b935218cc97fd7ddef4c3fbc782f9f40fa912 (diff)
downloaddokka-ccb4e08b82d9c60f3c5cdf7cb2b7f7e5da93976b.tar.gz
dokka-ccb4e08b82d9c60f3c5cdf7cb2b7f7e5da93976b.tar.bz2
dokka-ccb4e08b82d9c60f3c5cdf7cb2b7f7e5da93976b.zip
HtmlRenderer: Minor reformatting
Diffstat (limited to 'plugins')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
index 6c1fd472..5747c6da 100644
--- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
@@ -607,7 +607,8 @@ open class HtmlRenderer(
override suspend fun renderPage(page: PageNode) {
super.renderPage(page)
if (page is ContentPage && page !is ModulePageNode && page !is PackagePageNode)
- searchbarDataInstaller.processPage(page, locationProvider.resolve(page) ?: run { context.logger.error("Cannot resolve path for ${page.dri}"); ""})
+ searchbarDataInstaller.processPage(page, locationProvider.resolve(page)
+ ?: run { context.logger.error("Cannot resolve path for ${page.dri}"); "" })
}
override fun FlowContent.buildText(textNode: ContentText) =