Amazon Vinyl
    Preparing search index...

    Function renderCueText

    • Renders a cue's text payload as safe HTML. Text is escaped (so it can't inject nodes); newlines become <br>; and WebVTT cue tags are converted: <c.foo><span class="foo">, <i>/<b>/<u>/<ruby>/<rt> pass through, <v Name><span title>, <lang xx><span lang>, timestamp tags are dropped. Class-based styling requires matching app CSS (STYLE blocks in the VTT are not applied).

      Parameters

      • text: string

      Returns string