-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Translation issue send-friend in sendphtml #18779
Copy link
Copy link
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
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
Preconditions (*)
Steps to reproduce (*)
Set shop-> config->catalog->"Email to a friend" -> yes
Expected result (*)
Actual result (*)
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>"