Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nag PARAM_UNESCAPED_COMMA for comma-separated TYPE value list #15

Open
mattmattmatt opened this issue Apr 28, 2024 · 0 comments
Open

Nag PARAM_UNESCAPED_COMMA for comma-separated TYPE value list #15

mattmattmatt opened this issue Apr 28, 2024 · 0 comments

Comments

@mattmattmatt
Copy link

According to the spec, the line TEL;TYPE="work,fax";PREF=1:+45 1234 1234 is a valid result to represent "type parameter values specified as a parameter list (e.g., TYPE=text;TYPE=voice) or as a list (e.g., TYPE="text,voice")".

However, vcard4-ts logs this nag:

{
  "key":"PARAM_UNESCAPED_COMMA",
  "description": "Unescaped comma in parameter value",
  "isError": false,
  "attributes": {
    "property": "TEL",
    "parameter": "TYPE",
    "line": "TEL;TYPE=\"work,fax\";PREF=1:+45 1234 1234"
  }
}

Am I misunderstanding something, or can I safely ignore this nag?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant