Home > widget-integration > InstantSearchAPI > stripHtml

InstantSearchAPI.stripHtml() method

Strip HTML tags from text.

Signature:

protected stripHtml(text: string): string;

Parameters

Parameter

Type

Description

text

string

Text to strip

Returns:

string

Text without HTML