We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So I want to use this library instead of SwiftSoup as it seems fast as ****
SwiftSoup has a function to remove all tags from a document and just leave the content doc.body()?.text()
Does this library have a similar feature?
The text was updated successfully, but these errors were encountered:
A few years too late 😜. Just providing an example from a string
let html = "<html><body><h1>GitHub</h1></body></html>" if let htmlDoc = HTML(html: html, encoding: .utf8) { onlyText = htmlDoc.text }
Sorry, something went wrong.
Might want to close this to make managing this library easier for you? @tid-kijyun
No branches or pull requests
So I want to use this library instead of SwiftSoup as it seems fast as ****
SwiftSoup has a function to remove all tags from a document and just leave the content
doc.body()?.text()
Does this library have a similar feature?
The text was updated successfully, but these errors were encountered: