• Escapes a font-family name to be used as a key in a FontMapping

    The parameter fontFamilyStyle is a comma separated list of font families. The result is the first font family of the comma separated list without any leading and trailing special characters (like whitespace, quotes, comma).

    Parameters

    • fontFamilyStyle: string

      the font name

    Returns string

    the escaped font name