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

[5.4] Don't re-escape a View instance passed as the default value to yield or section blade directives #19884

Merged
merged 3 commits into from
Jul 3, 2017

Conversation

ockle
Copy link
Contributor

@ockle ockle commented Jul 3, 2017

Based on feedback in #19643, this changes the handling of the default parameter of @yield to detect that a View instance has been passed and will no longer try to re-escape it. For consistency, this pull also changes the handling of the default parameter of @section to behave the same way.

@ockle ockle changed the title Don't re-escape a View instance passed as the default value to yield or section blade directives [5.4] Don't re-escape a View instance passed as the default value to yield or section blade directives Jul 3, 2017
@taylorotwell taylorotwell merged commit 405fd27 into laravel:5.4 Jul 3, 2017
@brogier
Copy link

brogier commented Jul 4, 2017

Sweet!

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.

3 participants