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

Example of stripping HTML tags from text #227

Closed
wants to merge 2 commits into from

Conversation

MattCowgill
Copy link
Contributor

@MattCowgill MattCowgill commented Oct 29, 2024

For this #225

You could use rvest to strip HTML tags from the text

Note:

  • This works
  • I have not written tests for this
  • On my machine there are a bunch of unrelated failures when I run R CMD check that I have not worked through
  • I haven't added rvest as a dependency etc which you will need to do if you adopt this approach
  • This will not remove **markdown tags** only <span>html</span>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant