From 97c6ac0f57f53f3fc89cb1d117b4c4734d0eee88 Mon Sep 17 00:00:00 2001 From: limebeck Date: Sat, 4 May 2024 17:24:31 +0300 Subject: [PATCH] =?UTF-8?q?Fix=20=D0=BC=D0=B5=D1=82=D1=80=D0=B8=D0=BA?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- presentation/kotlin-script.reveal.kts | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/presentation/kotlin-script.reveal.kts b/presentation/kotlin-script.reveal.kts index b8151e4..c8ae147 100755 --- a/presentation/kotlin-script.reveal.kts +++ b/presentation/kotlin-script.reveal.kts @@ -3,9 +3,7 @@ import dev.limebeck.revealkt.core.RevealKt import dev.limebeck.revealkt.utils.ID import dev.limebeck.revealkt.utils.UuidGenerator -import kotlinx.html.br -import kotlinx.html.script -import kotlinx.html.unsafe +import kotlinx.html.* import qrcode.color.Colors title = "Kotlin Script: для кого, зачем и как" @@ -1215,11 +1213,10 @@ fun qr(data: String) = qrCode(data) { } head { - script { + script(type = "text/javascript") { unsafe { - raw(""" - - - - - """.trimIndent()) + """.trimIndent() + ) } } } \ No newline at end of file