Skip to content

Commit

Permalink
chg - Match also \N
Browse files Browse the repository at this point in the history
---

Type: chg
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Oct 3, 2024
1 parent e203a5b commit 70cfd4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VisualCard/Parts/Implementations/AgentInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ internal override BaseCardPartInfo FromStringVcardInternal(string value, Argumen
throw new InvalidDataException("Agent information must specify exactly one value (agent vCard contents that have their lines delimited by \\n)");

// Populate the fields
string _agentVcard = Regex.Unescape(value).Replace("\\n", "\n");
string _agentVcard = Regex.Unescape(value).Replace("\\n", "\n").Replace("\\N", "\n");
var _agentVcardParsers = CardTools.GetCardsFromString(_agentVcard);
AgentInfo _agent = new(altId, finalArgs, elementTypes, valueType, group, _agentVcardParsers);
return _agent;
Expand Down

0 comments on commit 70cfd4a

Please sign in to comment.