Skip to content

Unicode character breaks email template editor #39176

Open
@zakdma

Description

@zakdma

Preconditions and environment

  • Latest Magento version

Steps to reproduce

  1. Go to admin area.
  2. Open Marketing/Communications/Email Templates list
  3. Click Add New Template button on the top-right corner
  4. See email template editor opened
  5. Select Magento_Sales/New Order template as a value for Template form field
  6. Click Load Template button
  7. Enter any name to Template Name field
  8. Add unicode symbol U+1F447 (👇) at any place in Template Content editor. Screenshot: https://prnt.sc/bDnJ5BzxSQTM
  9. Click Save Template button to save template
  10. Open the saved template again to edit

Expected result

Template Content field contains all template text as saved previously

Actual result

Template Content field contains text only prior to the inserted unicode character 👇
All further text is truncated
Screenshot: https://prnt.sc/zF5HOkJokwDj

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”.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: ContentComponent: EmailIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions