Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Conversation

@addbrick
Copy link

Updates stripTags to take an Array of tags (as strings) that will be stripped from the html.

Ran into a need for this when we were truncating a html description and wanted to remove just the images from it.

Added a couple of test cases let me know if you want more

@flippyhead
Copy link
Contributor

I'm sorry for the loooong delay on this.. There's merge conflicts now however, would you mind taking a look? Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants