Ignore final newline in folded YAML string#6054
Merged
jekyllbot merged 3 commits intojekyll:masterfrom Jul 18, 2017
Merged
Conversation
before: {{ site.description }} =>
"Write an awesome description for your new site here. You can
edit this line in _config.yml. It will appear in your document
head meta (for Google search results) and in your feed.xml site
description./n"
after: {{ site.description }} =>
"Write an awesome description for your new site here. You can
edit this line in _config.yml. It will appear in your document
head meta (for Google search results) and in your feed.xml site
description."
Member
Author
|
/cc @jekyll/ecosystem |
parkr
approved these changes
May 10, 2017
Member
parkr
left a comment
There was a problem hiding this comment.
Nice. Should we also test that the new site's site.config["description"] doesn't have a trailing newline?
Member
Author
I think its implied.. |
pathawks
approved these changes
May 10, 2017
Member
That's the point... I don't want it to be implicit, I think if we're making this change we should explicitly test it. |
Member
|
@ashmaroli do you intend to test for a trailing newline here? |
Member
Author
Sorry, I forgot all about this. Thanks for reminding.. Will push a commit shortly. |
This comment has been minimized.
This comment has been minimized.
DirtyF
approved these changes
Jul 18, 2017
Member
|
@jekyllbot: merge +minor |
jekyllbot
added a commit
that referenced
this pull request
Jul 18, 2017
DirtyF
added a commit
that referenced
this pull request
Sep 30, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
before:
{{ site.description }}=>after:
{{ site.description }}=>