-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Event: squashtoberfestFixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed
Description
Preconditions (*)
- Magento 2.2.6, , ,
- Unix Ubuntu 16.04.5 LTS
- php 7.0.30
- mysql 5.7.24
Steps to reproduce (*)
- install magento 2.2.6 with sample data
- add any translation (eg German) with the entry: "Email:,E-Mail:,,"
Set shop-> config->catalog->"Email to a friend" -> yes - call a Product -> Email to a Friend
Expected result (*)
- all labels should been shown right
Actual result (*)
- Label "E-Mail" of the invieder is shown wrong like -> "E\u002dMail"
Fixing the issue (*)
/vendor/magento/module-send-friend/view/frontend/templates/send.phtml
remove "escapeJs" in line 34 :
<label for="recipients-email<%- data._index_ %>" class="label"><span><?= $block->escapeJs($block->escapeHtml(__('Email'))) ?></span></label>
change to:
"<label for="recipients-email<%- data._index_ %>" class="label"><span><?= $block->escapeHtmlAttr(__('Email')) ?></span></label>"
Metadata
Metadata
Assignees
Labels
Event: squashtoberfestFixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed