You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the HTML is already parsed, maybe it would be possible to add a method which strips the HTML but keeps the line breaks?
I'm specially thinking about this to be used on watchOS 2 projects, where NSAttributedString can't be used to strip HTML and it was quite a popular solution.
The text was updated successfully, but these errors were encountered:
Sorry for the delay in getting back to you, and thank you for your patience!
Just to make sure I understand, how does the output you're looking for differ from simply taking an HTMLDocument instance's -textContent? Special handling of <br> tags?
Could you supply brief sample of a document and the stripped output you'd expect? It'd be perfect for a unit test.
I'm guessing this'll be a pretty easy feature to implement, so I'm excited to add it!
This is a feature suggestion.
Since the HTML is already parsed, maybe it would be possible to add a method which strips the HTML but keeps the line breaks?
I'm specially thinking about this to be used on watchOS 2 projects, where NSAttributedString can't be used to strip HTML and it was quite a popular solution.
The text was updated successfully, but these errors were encountered: