diff options
author | Owen Gray <owengray@google.com> | 2020-03-24 18:21:42 -0400 |
---|---|---|
committer | Owen Gray <owengray@google.com> | 2020-04-02 09:39:59 -0400 |
commit | 1ebb630f9b0db7e30c113fa19b26503d66219794 (patch) | |
tree | 0f5931b518568a6bbfbae0dc505c3a26a9c0727e /core/src/main/kotlin/Formats/JavaLayoutHtml/JavaLayoutHtmlFormatOutputBuilder.kt | |
parent | ac5ec5dde25e5c9558b3fed5741cc9f097f6461a (diff) | |
download | dokka-1ebb630f9b0db7e30c113fa19b26503d66219794.tar.gz |
Fix @see tags
Thanks to Jeff for initial solution
Fixes: b/142676098
Test: gw test
Change-Id: If92fa2df0ea40061f2f0a6b6f16a45897001b62f
Diffstat (limited to 'core/src/main/kotlin/Formats/JavaLayoutHtml/JavaLayoutHtmlFormatOutputBuilder.kt')
-rw-r--r-- | core/src/main/kotlin/Formats/JavaLayoutHtml/JavaLayoutHtmlFormatOutputBuilder.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Formats/JavaLayoutHtml/JavaLayoutHtmlFormatOutputBuilder.kt b/core/src/main/kotlin/Formats/JavaLayoutHtml/JavaLayoutHtmlFormatOutputBuilder.kt index 7fbdb1819..ccea82eae 100644 --- a/core/src/main/kotlin/Formats/JavaLayoutHtml/JavaLayoutHtmlFormatOutputBuilder.kt +++ b/core/src/main/kotlin/Formats/JavaLayoutHtml/JavaLayoutHtmlFormatOutputBuilder.kt @@ -51,7 +51,7 @@ open class JavaLayoutHtmlFormatOutputBuilder( protected fun FlowContent.contentNodesToMarkup(content: List<ContentNode>, contextUri: URI = uri): Unit = content.forEach { contentNodeToMarkup(it, contextUri) } - private fun FlowContent.contentNodeToMarkup(content: ContentNode, contextUri: URI) { + protected fun FlowContent.contentNodeToMarkup(content: ContentNode, contextUri: URI = uri) { when (content) { is ContentText -> +content.text is ContentSymbol -> span("symbol") { +content.text } |