mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 17:29:23 +00:00
Replace newlines with line breaks. Fixes #3258
This commit is contained in:
1 parent
b38ee75ba2
commit
4820d3eee6
1 file changed
+1
-1
@@ -115,7 +115,7 @@ private extension TwitterStatus {
|
||||
}
|
||||
|
||||
if prevIndex < displayEndIndex {
|
||||
html += String(text[prevIndex..<displayEndIndex])
|
||||
html += String(text[prevIndex..<displayEndIndex]).replacingOccurrences(of: "\n", with: "<br>")
|
||||
}
|
||||
|
||||
return html
|
||||
|
||||
Reference in new issue
Block a user