Skip to content

Commit

Permalink
Merge branch 'sw-25772/5.6/format-newsletter-title' into '5.6'
Browse files Browse the repository at this point in the history
SW-25772 - Format newsletter title

See merge request shopware/5/product/shopware!459
  • Loading branch information
philipreinken committed Nov 6, 2020
2 parents 9781225 + f525dd0 commit cbc212c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/Shopware/Core/sMarketing.php
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ public function sMailCampaignsGetDetail($id)
if (strpos($getText['link'], 'http') === false && $getText['link']) {
$getText['link'] = 'http://' . $getText['link'];
}
$getCampaignContainers[$campaignKey]['description'] = $getText['headline'];
$getCampaignContainers[$campaignKey]['description'] = htmlspecialchars($getText['headline']);
$getCampaignContainers[$campaignKey]['data'] = $getText;
break;
}
Expand Down

0 comments on commit cbc212c

Please sign in to comment.