The Wayback Machine - https://web.archive.org/web/20210617004906/https://github.com/laravel/framework/pull/37697
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

[8.x] Adds a small fix for unicode with blade echo handlers #37697

Merged
merged 3 commits into from Jun 15, 2021

Conversation

@lukeraymonddowning
Copy link
Contributor

@lukeraymonddowning lukeraymonddowning commented Jun 15, 2021

Howdy!

I noticed when working with blade echo handlers today that when outputting string values (such as unicode characters) that include ';', an error would be thrown. This PR fixes this issue by checking that the value really ends with ';' before stripping it.

I've added a test to prove it works correctly now.

As always, thanks for everything!

Regards,
Luke

@taylorotwell taylorotwell merged commit e05968a into laravel:8.x Jun 15, 2021
15 checks passed
15 checks passed
@github-actions
PHP 7.3 - prefer-lowest
Details
@github-actions
PHP 7.3 - prefer-stable
Details
@github-actions
PHP 7.4 - prefer-lowest
Details
@github-actions
PHP 7.4 - prefer-stable
Details
@github-actions
PHP 8.0 - prefer-lowest
Details
@github-actions
PHP 8.0 - prefer-stable
Details
@github-actions
PHP 8.1 - prefer-stable PHP 8.1 - prefer-stable
Details
@github-actions
PHP 7.3 - prefer-lowest - Windows
Details
@github-actions
PHP 7.3 - prefer-stable - Windows
Details
@github-actions
PHP 7.4 - prefer-lowest - Windows
Details
@github-actions
PHP 7.4 - prefer-stable - Windows
Details
@github-actions
PHP 8.0 - prefer-lowest - Windows
Details
@github-actions
PHP 8.0 - prefer-stable - Windows
Details
@github-actions
PHP 8.1 - prefer-stable - Windows PHP 8.1 - prefer-stable - Windows
Details
continuous-integration/styleci/pr The analysis has passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants