A regression in 2.14 led to the document body being omitted after YAML metadata in some cases. This is now fixed. Closes #7339.