diff --git a/lib/Parser.js b/lib/Parser.js index 388f5a8..a54c533 100644 --- a/lib/Parser.js +++ b/lib/Parser.js @@ -329,7 +329,7 @@ function parseFetch(text, literals) { val = parseFetchEnvelope(val); else if (key === 'internaldate') val = new Date(val); - else if (key === 'body') + else if (key === 'body' || key === 'bodystructure') val = parseBodyStructure(val); attrs[key] = val; }