Post

Replies

Boosts

Views

Activity

blockquote in NSAttributedString
When i tried to convert html to attributed string, which contains "blockquote". It ignores the "blockquote" and return the string without it. Is "blockquote" supported in iOS? The code is below: let data = data(using: .utf8, allowLossyConversion: true) let attributedString = NSMutableAttributedString(         data: data,         options: [.documentType: NSAttributedString.DocumentType.html,              .characterEncoding: String.Encoding.utf8.rawValue],         documentAttributes: nil       )
1
0
436
Jul ’20