Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utils: has_yaml_header? should accept files with extraneous spaces #4290

Merged
merged 1 commit into from Jan 4, 2016

Conversation

parkr
Copy link
Member

@parkr parkr commented Dec 27, 2015

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.

Fixes #4017

@parkr parkr added the fix label Dec 27, 2015
@parkr parkr added this to the 3.1 milestone Dec 27, 2015
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.
@parkr parkr force-pushed the deal-with-extraneous-spaces branch from 72e2458 to cb5bc10 Compare January 4, 2016 22:09
parkr added a commit that referenced this pull request Jan 4, 2016
@parkr parkr merged commit a78230c into master Jan 4, 2016
@parkr parkr deleted the deal-with-extraneous-spaces branch January 4, 2016 22:57
parkr added a commit that referenced this pull request Jan 4, 2016
@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Collections stricter parsing front-matter than posts
2 participants