mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Update files following swiftformat upgrade
This commit is contained in:
committed by
Stefan Ceriu
parent
fe189fcfed
commit
23062901c0
@@ -624,7 +624,7 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
|
||||
return .init(body: messageContent.body, formattedBody: formattedBody, formattedBodyHTMLString: htmlBody)
|
||||
}
|
||||
|
||||
// This fixes the issue of the name not belonging to the first <p> defined paragraph
|
||||
/// This fixes the issue of the name not belonging to the first <p> defined paragraph
|
||||
private func buildEmoteFormattedBodyFromHTML(html: String, name: String) -> AttributedString? {
|
||||
let htmlBodyPlaceholder = "{htmlBodyPlaceholder}"
|
||||
var finalString = AttributedString(L10n.commonEmote(name, htmlBodyPlaceholder))
|
||||
|
||||
Reference in New Issue
Block a user