summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--askbot/media/js/post.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/media/js/post.js b/askbot/media/js/post.js
index 342a3cf3..fb9f991d 100644
--- a/askbot/media/js/post.js
+++ b/askbot/media/js/post.js
@@ -2107,7 +2107,7 @@ var socialSharing = function(){
URL = window.location.href;
var urlBits = URL.split('/');
URL = urlBits.slice(0, -2).join('/') + '/';
- TEXT = escape($('h1 > a').html());
+ TEXT = encodeURIComponent($('h1 > a').html());
var hashtag = encodeURIComponent(
askbot['settings']['sharingSuffixText']
);