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