mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
This commit is contained in:
@@ -10,7 +10,7 @@ import org.jetbrains.compose.web.css.keywords.auto
|
||||
import org.w3c.dom.HTMLElement
|
||||
|
||||
private fun HTMLElement.setHighlightedCode(code: String) {
|
||||
innerText = code
|
||||
textContent = code
|
||||
HighlightJs.highlightElement(this)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user