mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Fix slash commands from room composer
This commit is contained in:
@@ -219,7 +219,7 @@ private extension RoomDataSource {
|
||||
func htmlMessageFromSanitizedAttributedText(_ sanitizedText: NSAttributedString) -> String? {
|
||||
let rawText: String
|
||||
if #available(iOS 15.0, *) {
|
||||
rawText = PillsFormatter.stringByReplacingPills(in: sanitizedText, asMarkdown: true)
|
||||
rawText = PillsFormatter.stringByReplacingPills(in: sanitizedText, mode: .markdown)
|
||||
} else {
|
||||
rawText = sanitizedText.string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user