mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Various fixes
This commit is contained in:
parent
38c8b7738f
commit
e795194a8f
4 changed files with 20 additions and 4 deletions
|
|
@ -296,6 +296,7 @@ public func foldLineBreaks(_ text: String) -> String {
|
|||
result += " " + line
|
||||
}
|
||||
}
|
||||
result = result.replacingOccurrences(of: "\\s+", with: " ", options: .regularExpression)
|
||||
return result
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue