Skip to content

Conversation

@jwerre
Copy link

@jwerre jwerre commented Mar 19, 2014

Added ignore parameter to stripTags function

_('<html><body><span class="underline">hello</span> <em>world</em></body><!--comment--></html>').stripTags('<span><em>')

will produce:

<span class="underline">hello</span> <em>world</em>

passing keyword 'inline' will ignore all inline elements

 _('<html><body><span class="underline">hello</span> <em>world</em></body></html>').stripTags('inline')

jwerre added 5 commits March 17, 2014 18:06
Added anchor links
removed asterisks at end of header line 41
fixed a few broken links
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