mirror of
https://github.com/zxing/zxing.git
synced 2025-02-02 05:41:08 -08:00
Handle ; separators in N vCard field
git-svn-id: https://zxing.googlecode.com/svn/trunk@2897 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
0b56d79d00
commit
6d7a77d73f
|
@ -58,7 +58,7 @@ public final class VCardResultParser extends ResultParser {
|
|||
List<List<String>> names = matchVCardPrefixedField("FN", rawText, true, false);
|
||||
if (names == null) {
|
||||
// If no display names found, look for regular name fields and format them
|
||||
names = matchVCardPrefixedField("N", rawText, true, false);
|
||||
names = matchVCardPrefixedField("N", rawText, true, true);
|
||||
formatNames(names);
|
||||
}
|
||||
List<String> nicknameString = matchSingleVCardPrefixedField("NICKNAME", rawText, true, false);
|
||||
|
|
Loading…
Reference in a new issue