Skip to content

Commit

Permalink
Fix #15, thanks!
Browse files Browse the repository at this point in the history
  • Loading branch information
kristaps committed Apr 18, 2018
1 parent c094339 commit a6975e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion document.c
Expand Up @@ -3528,9 +3528,11 @@ parse_metadata(hdoc *doc, const char *data, size_t sz)
break;
}

/* Consume colon, value, then on to next token. */
/* Pass colon, space, value, then to next token. */

i++;
while (isspace((unsigned char)data[i]))
i++;
val = parse_metadata_val(&data[i], sz - i, &valsz);
m->value = xstrndup(val, valsz);
pos = i + valsz + 1;
Expand Down

0 comments on commit a6975e3

Please sign in to comment.