Update markdown to v0.41.0 (#3194)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
This commit is contained in:
@@ -14,7 +14,6 @@ import androidx.compose.runtime.CompositionLocalProvider
|
||||
import androidx.compose.runtime.ReadOnlyComposable
|
||||
import androidx.compose.runtime.remember
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.graphics.Color
|
||||
import androidx.compose.ui.layout.FirstBaseline
|
||||
import androidx.compose.ui.text.Placeholder
|
||||
import androidx.compose.ui.text.PlaceholderVerticalAlign
|
||||
@@ -223,6 +222,7 @@ private val markdownComponents = markdownComponents(
|
||||
if (type in DISALLOWED_MARKDOWN_TYPES) {
|
||||
MarkdownText(
|
||||
content = model.content.substring(model.node.startOffset, model.node.endOffset),
|
||||
node = model.node,
|
||||
style = model.typography.text,
|
||||
)
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ kotlinx-serialization = "1.11.0"
|
||||
ktlint = "1.8.0"
|
||||
leakCanary = "2.14"
|
||||
logcat = "0.4"
|
||||
markdown = "0.39.2"
|
||||
markdown = "0.41.0"
|
||||
material = "1.12.0"
|
||||
materialKolor = "5.0.0-alpha07"
|
||||
mockk = "1.14.11"
|
||||
|
||||
Reference in New Issue
Block a user