mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-06 03:01:43 -04:00
utils: has_yaml_header? should accept files with extraneous spaces
Occasionally, extra spaces at the end of the YAML front matter prologue are saved to a file and it goes missing without telling the user why. This should simply accept those changes without any detriment to the user, allowing anyone to add as many spaces as they like to the end of their front matter prologues.
This commit is contained in:
3
test/source/_posts/2015-12-27-extra-spaces.markdown
Normal file
3
test/source/_posts/2015-12-27-extra-spaces.markdown
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
extra: spaces
|
||||
---
|
||||
Reference in New Issue
Block a user