magento2: HTML characters not rendered in thumbnail popup

Preconditions and environment

  • 2.4.6-p1

Steps to reproduce

  1. Go to Catalog > Products (Product Grid)
  2. Find a product with a html character such as quotes " for this example.
  3. Click on the image thumbnail

Product Grid Product name contains quotes and displays correctly here prod-grid

When Product thumbnail is clicked the lightbox does not render the quote characters. Shows " instead of the character. popup

Same thing happens with other characters such as & (ampersand)

Expected result

Product name is displayed above image with html character codes rendered

Actual result

Product name is displayed above image with html character code not rendered

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 17 (3 by maintainers)

Most upvoted comments

@magento I am working on this

Hi @drinkingsouls,

Thank you for reporting and collaboration.

Verified the issue on Magento 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots.

Steps to reproduce

  • Go to Catalog > Products (Product Grid)
  • Find a product with a html character such as quotes " for this example.
  • Click on the image thumbnail

In Product grid it is working fine and showing with a html character such as quotes " .

Screenshot 2023-07-31 at 3 44 22 PM

In frontend also it is working fine.

Screenshot 2023-07-31 at 3 44 39 PM

In Product grid when we click the image the html characters are not rendering.

Screenshot 2023-07-31 at 3 45 02 PM

Hence Confirming the issue.

Thanks.