Strip newline after frontmatter

Closes #1610
This commit is contained in:
Eliott Appleford 2015-09-30 05:00:57 +01:00
parent 5e3ddbf988
commit 9df1a45301

View file

@ -28,6 +28,7 @@ module Middleman::Util::Data
(?<start>[-;]{3})[ ]*\r?\n (?<start>[-;]{3})[ ]*\r?\n
(?<frontmatter>.*?)[ ]*\r?\n? (?<frontmatter>.*?)[ ]*\r?\n?
(?<stop>^[-.;]{3})[ ]*\r?\n? (?<stop>^[-.;]{3})[ ]*\r?\n?
\r?\n?
(?<additional_content>.*) (?<additional_content>.*)
/mx =~ content /mx =~ content