mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-08-03 12:37:15 -04:00
Update SwiftUI/Model/SearchOperation/SearchOperation.swift
This commit is contained in:
parent
752072a988
commit
873ef432fd
@ -39,7 +39,8 @@ extension SearchOperation {
|
||||
let data = html.data(using: .utf8) else { return }
|
||||
result.snippet = try? NSAttributedString(
|
||||
data: data,
|
||||
options: [.documentType: NSAttributedString.DocumentType.html, .characterEncoding: String.Encoding.utf8.rawValue],
|
||||
options: [.documentType: NSAttributedString.DocumentType.html,
|
||||
.characterEncoding: String.Encoding.utf8.rawValue],
|
||||
documentAttributes: nil
|
||||
)
|
||||
case .disabled:
|
||||
|
Loading…
x
Reference in New Issue
Block a user