From 2f09504f0875fec030cef136da2ba0d2bcf0fdac Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 5 Jan 2020 20:28:44 +0600 Subject: [PATCH] fix in formatting of hashtag text --- .../TelegramBotAPI/utils/MultilevelTextSourceFormatting.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/utils/MultilevelTextSourceFormatting.kt b/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/utils/MultilevelTextSourceFormatting.kt index 9c83aac3d7..f54265fc05 100644 --- a/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/utils/MultilevelTextSourceFormatting.kt +++ b/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/utils/MultilevelTextSourceFormatting.kt @@ -127,7 +127,7 @@ internal fun MultilevelTextSource.mentionHTML(): String = "@${textParts.joinSubS internal fun MultilevelTextSource.hashTagMarkdownV2(): String = "\\#${textParts.joinSubSourcesMarkdownV2()}" -internal fun MultilevelTextSource.hashTagHTML(): String = "\\#${textParts.joinSubSourcesHtml()}" +internal fun MultilevelTextSource.hashTagHTML(): String = "#${textParts.joinSubSourcesHtml()}" internal fun MultilevelTextSource.phoneMarkdownV2(): String = textParts.joinSubSourcesMarkdownV2()