10000 [11.x] Fix `Illuminate\Support\EncodedHtmlString` from causing breaking change by crynobone · Pull Request #55149 · laravel/framework · GitHub
[go: up one dir, main page]

Skip to content

[11.x] Fix Illuminate\Support\EncodedHtmlString from causing breaking change #55149

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 8 commits into from
Mar 24, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update src/Illuminate/Mail/Markdown.php
Co-authored-by: Sebastian Hädrich <11225821+shaedrich@users.noreply.github.com>
  • Loading branch information
crynobone and shaedrich authored Mar 24, 2025
commit bcbdea03c6921a6255a6d29e9ca0f9e276c7ea0f
4 changes: 1 addition & 3 deletions src/Illuminate/Mail/Markdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ function () use ($view, $data) {
'>' => '&gt;',
];

$html = str_replace(array_keys($replacements), array_values($replacements), $value);

return $html;
return str_replace(array_keys($replacements), array_values($replacements), $value);
});

try {
Expand Down
Loading
0