You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit adds full support for parsing vCard 2.1 format, based on the
work from PR kewisch#389. Key features implemented:
- New vcard21 design set with proper text escaping rules
- Text type that escapes backslash, semicolon, and comma but does not
treat commas as multi-value separators (vCard 2.1 uses single values)
- Support for vCard 2.1 specific parameters (encoding, charset)
- Version detection logic to automatically switch to vcard21 parser when
VERSION:2.1 is encountered
- Comprehensive test coverage with vcard21.vcf and vcard21.json fixtures
- All existing tests continue to pass
The implementation correctly handles the key differences between vCard 2.1
and later versions:
- Escape sequences: only backslash, semicolon, and comma need escaping
- No comma-separated multi-value properties
- Semicolons still used for structured values
- Support for BASE64 encoding parameter (instead of 'b')
0 commit comments