aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
diff options
context:
space:
mode:
authorMike Sinkovsky <msink@users.noreply.github.com>2021-07-19 17:56:23 +0500
committerGitHub <noreply@github.com>2021-07-19 14:56:23 +0200
commit01ce00036a403c1d6bba3cb1b4c228f2df3f8b6c (patch)
tree12cf05dac9a1a3b5809728c695c14b8bd64b405b /plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
parent772f0c6093bb68a776ce253025a96abc2c9667ed (diff)
downloaddokka-01ce00036a403c1d6bba3cb1b4c228f2df3f8b6c.tar.gz
dokka-01ce00036a403c1d6bba3cb1b4c228f2df3f8b6c.tar.bz2
dokka-01ce00036a403c1d6bba3cb1b4c228f2df3f8b6c.zip
Minor: rename `buildNewLine` (#1987)
* minor: rename `DefaultRenderer.buildNewLine` to `buildLineBreak` to better describe what it actually does. * minor: rename `CommonmarRenderer.appendNewLine` to `buildNewLine` for consistency.
Diffstat (limited to 'plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt2
1 files changed, 1 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 5a6f7c83..a6eec0b9 100644
--- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
@@ -656,7 +656,7 @@ open class HtmlRenderer(
override fun buildError(node: ContentNode) = context.logger.error("Unknown ContentNode type: $node")
- override fun FlowContent.buildNewLine() = br()
+ override fun FlowContent.buildLineBreak() = br()
override fun FlowContent.buildLink(address: String, content: FlowContent.() -> Unit) =
a(href = address, block = content)