mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 00:49:44 +00:00
Correctly identify MSC4286 span values.
This commit is contained in:
@@ -182,7 +182,7 @@ struct AttributedStringBuilderV2: AttributedStringBuilderProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case "span":
|
case "span":
|
||||||
if (try? childElement.attr(Self.attributeMSC4286)) ?? nil != nil {
|
if childElement.dataset()[Self.attributeMSC4286] != nil {
|
||||||
content = attributedString(from: childElement, preserveFormatting: preserveFormatting, listTag: listTag, listIndex: &childIndex, indentLevel: indentLevel)
|
content = attributedString(from: childElement, preserveFormatting: preserveFormatting, listTag: listTag, listIndex: &childIndex, indentLevel: indentLevel)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user