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

Commit 6123f7e

Browse files
committed
added uri encode
1 parent 9dd2784 commit 6123f7e

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)