geepawhill
01/05/2023, 4:31 AMkotlinx.html.title
puts the title usage in red and suggests the import, which it then does. However, the import does not correct the red unknown mark, and re-suggests the same import. Am I not seeing something extremely obvious here?
import kotlinx.html.html
import kotlinx.html.stream.appendHTML
import kotlinx.html.title
import org.junit.jupiter.api.Test
class HtmlTest {
@Test
fun makesTitle() {
val output = StringBuilder()
output.appendHTML().html {
title("Let's try this.")
}
}
}
geepawhill
01/05/2023, 10:01 PMgeepawhill
01/05/2023, 10:09 PM