Skip to content

Commit

Permalink
add missing curly braces
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed May 13, 2016
1 parent 8c2fd0c commit 5bdd4e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/JsonLD/Core/JsonLdProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ public static JArray Expand(JToken input, JsonLdOptions opts)
foreach (var c in ((string) input))
{
if (c == ':')
{
hasColon = true;
}

if (!hasColon && (c == '{' || c == '['))
{
isIriString = false;
Expand Down

0 comments on commit 5bdd4e8

Please sign in to comment.