How to use string-strip-html - 1 common examples

To help you get started, we’ve selected a few string-strip-html examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github react-static / react-static / examples / gentics-mesh / src / components / VehicleCard.js View on Github external
alt={vehicle.fields.name}
        />
        
          
            {vehicle.fields.name}
          
          
            
          
          
            {stripHtml(vehicle.fields.description)}
          
          <button>
            View
          </button>
        
      
    )
  }
}

string-strip-html

Strip HTML tags from strings. No parser, accepts mixed sources.

MIT
Latest version published 7 months ago

Package Health Score

66 / 100
Full package analysis

Popular string-strip-html functions