Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Apostrophe in Maillable::assertSeeInHtml() not escaped properly #55913

Copy link
Copy link
Open
@raveren

Description

@raveren
Issue body actions

Laravel Version

11.45.0

PHP Version

8.3

Database Driver & Version

No response

Description

The exact example in PR that fixed this three years ago is broken again since the single apostrophe was not covered in the tests:

Steps To Reproduce

The mailable blade:

{{ "O'Connor" }}

The test assertion (which fails)

$mail->assertSeeInHtml("O'Connor");

Test output:

Failed asserting that 'O'Connor\n
' [ASCII](length: 14) contains "O'Connor" [ASCII](length: 8).

Also related to a fairly recently reported bug: #54830

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.