mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-07-03 00:25:29 +00:00
Revert "Modify markdown function to add newlines"
This reverts commit 3a05a88d4f.
This commit is contained in:
@@ -54,7 +54,7 @@ data class RichBlockParagraph(
|
|||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
const val TYPE = "paragraph"
|
const val TYPE = "paragraph"
|
||||||
fun markdown(text: RichText): String = "\n${text.markdown}\n"
|
fun markdown(text: RichText): String = text.markdown
|
||||||
fun html(text: RichText): String = "<p>${text.html}</p>"
|
fun html(text: RichText): String = "<p>${text.html}</p>"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user