Product Selector

Fusion 5.9
    Fusion 5.9

    htmlToPlainText

    Description

    Strip HTML from a string.

    Usage

    In HTML Template Binding

    {{ htmlToPlainText_expression | htmlToPlainText }}

    In JavaScript

    $filter('htmlToPlainText')(string)

    Parameters

    ParamTypeDetails
    stringstring

    The value to strip the html from.