Replace newlines with line breaks. Fixes #3258
This commit is contained in:
parent
56abb94901
commit
656782ff9e
@ -115,7 +115,7 @@ private extension TwitterStatus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if prevIndex < displayEndIndex {
|
if prevIndex < displayEndIndex {
|
||||||
html += String(text[prevIndex..<displayEndIndex])
|
html += String(text[prevIndex..<displayEndIndex]).replacingOccurrences(of: "\n", with: "<br>")
|
||||||
}
|
}
|
||||||
|
|
||||||
return html
|
return html
|
||||||
|
Loading…
x
Reference in New Issue
Block a user