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:
Is "blockquote" supported in iOS?
The code is below:
Code Block let data = data(using: .utf8, allowLossyConversion: true) let attributedString = NSMutableAttributedString( data: data, options: [.documentType: NSAttributedString.DocumentType.html, .characterEncoding: String.Encoding.utf8.rawValue], documentAttributes: nil )