lib/mixins/view.js
function(str) {
      if (typeof str !== 'string') {
        str = this.content;
      }
      if (typeof str !== 'string') return '';
      str = str.replace(/(<([^>]+)>)/g, '');
      return str.trim();
    }
function(str) {
      if (typeof str !== 'string') {
        str = this.content;
      }
      if (typeof str !== 'string') return '';
      str = str.replace(/(<([^>]+)>)/g, '');
      return str.trim();
    }
function ( str ) { if ( typeof str !== 'string' ) { str = this . content ; } if ( typeof str !== 'string' ) return '' ; str = str . replace ( / (<([^>]+)>) / g , '' ) ; return str . trim ( ) ; }
Strip HTML from the given `str` or `view.content`

@param  {String} str HTML string
@return {String}
Strip HTML from the given str or view . content