Skip to content
This repository was archived by the owner on Mar 7, 2022. It is now read-only.

Commit ee70c9c

Browse files
authored
Merge pull request #202 from overovermind/master
Email body should be encoded
2 parents 9dd2784 + 6123f7e commit ee70c9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/angular-socialshare.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@
526526

527527
if (attrs.socialshareBody) {
528528

529-
urlString += 'body=' + attrs.socialshareBody;
529+
urlString += 'body=' + encodeURIComponent(attrs.socialshareBody);
530530
}
531531

532532
if (attrs.socialshareSubject) {

0 commit comments

Comments
 (0)