• Escapes a string or number to be used as a mermaid node id.

    Parameters

    • text: string | number

    Returns string