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

Premature termination of FrontMatter #93

Closed
karottenreibe opened this Issue Oct 25, 2009 · 2 comments

Comments

Projects
None yet
3 participants
@karottenreibe

karottenreibe commented Oct 25, 2009

The FrontMatter is terminated on any occurrance of '---' within the YAML, even if it's in the middle of a line, e.g:


---
foo: uiae --- uiae

will be truncated and returns

{'foo' => 'uiae ' }.

I fixed it in my fork: karottenreibe/jekyll@f9673c41f284b24195ef78ae845a2111b21f3dd1

@karottenreibe

This comment has been minimized.

karottenreibe commented Oct 25, 2009

Correction: now I fixed it: karottenreibe/jekyll@fe3c09427bfc6b3fd21e9fc649bd11e10cc45b80

The earlier version would convert

---
foo: bar ---

into { foo => 'bar ' }

@mojombo

This comment has been minimized.

Contributor

mojombo commented Jan 9, 2010

don't prematurely terminate front matter on mid-line triple dashes. closed by 4c1021d

@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017

This issue was closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.