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

Added allowTags #85

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Added allowTags #85

wants to merge 3 commits into from

Conversation

keithics
Copy link

@keithics keithics commented May 7, 2014

Strip tags except tags specified.
credits from php.js

S('<p>just <b>some</b> text</p>').allowTags('<p>')
output:
<p>just some text</p>

keithics added 2 commits May 7, 2014 11:56
this is similar to strip_tags of php
min
@keithics keithics mentioned this pull request May 7, 2014
@jprichardson
Copy link
Owner

Please include a test with multiple tags allowed. Thanks!

@keithics
Copy link
Author

Done. sorry I didnt notice your comment until now.

@jprichardson
Copy link
Owner

Github won't let me automerge this. I could copy in the changes, but it won't show that you committed or you could rebase. Also, don't include the minified file. Then everything should be good! Thanks!

@keithics
Copy link
Author

keithics commented Aug 6, 2014

no worries 😄

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.

2 participants