Skip to content

Commit cbc212c

Browse files
committed
Merge branch 'sw-25772/5.6/format-newsletter-title' into '5.6'
SW-25772 - Format newsletter title See merge request shopware/5/product/shopware!459
2 parents 9781225 + f525dd0 commit cbc212c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/Shopware/Core/sMarketing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ public function sMailCampaignsGetDetail($id)
713713
if (strpos($getText['link'], 'http') === false && $getText['link']) {
714714
$getText['link'] = 'http://' . $getText['link'];
715715
}
716-
$getCampaignContainers[$campaignKey]['description'] = $getText['headline'];
716+
$getCampaignContainers[$campaignKey]['description'] = htmlspecialchars($getText['headline']);
717717
$getCampaignContainers[$campaignKey]['data'] = $getText;
718718
break;
719719
}

0 commit comments

Comments
 (0)