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

Add strip_tags() #166

Open
web64 opened this issue Aug 2, 2017 · 0 comments
Open

Add strip_tags() #166

web64 opened this issue Aug 2, 2017 · 0 comments

Comments

@web64
Copy link

web64 commented Aug 2, 2017

First of all, thanks for a great library!

A strip_tags() function that actually works would be a great addition!
Must be able to handle:

  • <style> tags
  • <script> tags
  • prevent words from being joined when tags are removed:
    example: word<br />another_word

Here is what I'm using at the moment:
https://gist.github.com/web64/b0efa3f001401950f26fb72f5eff8674

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

No branches or pull requests

1 participant