diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/internal/StringFormatting.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/internal/StringFormatting.kt index 109caa2ea7..13289fe1df 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/internal/StringFormatting.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/utils/internal/StringFormatting.kt @@ -49,7 +49,7 @@ internal fun String.boldMarkdown(): String = markdownDefault(markdownBoldControl internal fun String.italicMarkdown(): String = markdownDefault(markdownItalicControl) -internal fun String.spoilerMarkdown(): String = markdownDefault(markdownSpoilerControl) +internal fun String.spoilerMarkdown(): String = regularMarkdown() /** * Crutch for support of strikethrough in default markdown. Simply add modifier, but it will not look like correct