Various fixes

This commit is contained in:
Ilya Laktyushin
2022-08-11 19:41:41 +03:00
parent 38c8b7738f
commit e795194a8f
4 changed files with 20 additions and 4 deletions

View File

@@ -296,6 +296,7 @@ public func foldLineBreaks(_ text: String) -> String {
result += " " + line
}
}
result = result.replacingOccurrences(of: "\\s+", with: " ", options: .regularExpression)
return result
}