Skip to content

Fix bug where rendering Slot with empty block resulted in error. #418

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

Merged
merged 1 commit into from
Jul 22, 2020

Conversation

joelhawksley
Copy link
Member

@joelhawksley joelhawksley commented Jul 22, 2020

When rendering a slot with an empty block, capturing the block
returns nil, which does not respond_to strip.

This bug was introduced in #414, part of v2.17.0.

@joelhawksley joelhawksley requested a review from a team July 22, 2020 19:09
When rendering a slot with an empty block, the capturing the block
returns nil, which does not respond_to `strip`.
@joelhawksley joelhawksley merged commit 828714e into master Jul 22, 2020
@joelhawksley joelhawksley deleted the strip-nil-slots branch July 22, 2020 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants