• import { escapeHtml } from '@src/hylo-components/utils/usefull/usefull';

    Escapes special characters.

    & -> &
    < -> &lt;
    > -> &gt;
    " -> &quot;
    ' -> &#039;

    Parameters

    • text: string

      the text to be escaped

    Returns string

Generated using TypeDoc