aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/renderers
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2022-09-02 17:44:05 +0200
committerGitHub <noreply@github.com>2022-09-02 17:44:05 +0200
commit56ff8f3f24209bc9edaece876c56bd3fde1fbf8a (patch)
tree82ec6b6d9295f09b96d37166d2423b036313d7a6 /plugins/base/src/test/kotlin/renderers
parent7aae28c09fc52f67d18babb0238dc8a4d397c2ad (diff)
downloaddokka-56ff8f3f24209bc9edaece876c56bd3fde1fbf8a.tar.gz
dokka-56ff8f3f24209bc9edaece876c56bd3fde1fbf8a.tar.bz2
dokka-56ff8f3f24209bc9edaece876c56bd3fde1fbf8a.zip
Underline `@param` tag key for more consistency (#2643)
* Underline `@param` tag key for more consistency * Correct keyValue table column ratio
Diffstat (limited to 'plugins/base/src/test/kotlin/renderers')
-rw-r--r--plugins/base/src/test/kotlin/renderers/html/TextStylesTest.kt14
1 files changed, 13 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/renderers/html/TextStylesTest.kt b/plugins/base/src/test/kotlin/renderers/html/TextStylesTest.kt
index 98f73ffa..507f1779 100644
--- a/plugins/base/src/test/kotlin/renderers/html/TextStylesTest.kt
+++ b/plugins/base/src/test/kotlin/renderers/html/TextStylesTest.kt
@@ -92,6 +92,18 @@ class TextStylesTest : HtmlRenderingOnlyTestBase() {
renderedContent.match(Var("variable"))
}
+ @Test
+ fun `should include underlined text`() {
+ val page = testPage {
+ group(styles = setOf(TextStyle.Underlined)) {
+ text("underlined text")
+ }
+ }
+ HtmlRenderer(context).render(page)
+ println(renderedContent)
+ renderedContent.match(U("underlined text"))
+ }
+
override val renderedContent: Element
get() = files.contents.getValue("test-page.html").let { Jsoup.parse(it) }.select("#content").single()
-} \ No newline at end of file
+}