Skip to content
New issue

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

snj-11-extrac-html #21

Merged
merged 5 commits into from Nov 7, 2021
Merged

snj-11-extrac-html #21

merged 5 commits into from Nov 7, 2021

Conversation

haIIux
Copy link
Owner

@haIIux haIIux commented Nov 7, 2021

Problem : XML was being parsed correctly into String format, however it was retaining the HTML tags and attributes.
Solution : Utilizing SwiftSoup, we are able to sanitize the parsed XML data into a String format and display it appropriately at the view.

If understood correctly, we are creating a function called createDocument to handle the SwiftSoup document type creator in order to then be able to try to convert that Document over to String format so we can display. This is done on the view which we may want to reconsider.

Dependencies : SwiftSoup

@haIIux haIIux added enhancement New feature or request UI User Interface labels Nov 7, 2021
@haIIux haIIux added this to In progress in SwiftNews Jam! via automation Nov 7, 2021
@haIIux haIIux merged commit 75ea23f into main Nov 7, 2021
SwiftNews Jam! automation moved this from In progress to Done Nov 7, 2021
@haIIux haIIux deleted the snj-11-extract-html branch November 7, 2021 18:59
@haIIux haIIux mentioned this pull request Nov 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request UI User Interface
Projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant