epeli/underscore.string — pull request #266 by jwerre (2014-03-19 19:39:47+00:00)
Title: Strip tags

Added ignore parameter to stripTags function

_('

hello world

').stripTags('')

will produce:

hello world

passing keyword 'inline' will ignore all inline elements

_('

hello world

').stripTags('inline')