From 56ff8f3f24209bc9edaece876c56bd3fde1fbf8a Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Fri, 2 Sep 2022 17:44:05 +0200 Subject: Underline `@param` tag key for more consistency (#2643) * Underline `@param` tag key for more consistency * Correct keyValue table column ratio --- .../base/src/test/kotlin/renderers/html/TextStylesTest.kt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'plugins/base/src/test/kotlin/renderers') 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 +} -- cgit