Permalink
Browse files

Fix bug to support UTF8 posts

  • Loading branch information...
1 parent 7ad2ce1 commit 00aa1d6d1a256ee93409c3cead765d16a373f0e6 @mohamedmansour mohamedmansour committed Jul 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/injection.js
View
@@ -18,7 +18,7 @@ function parseURL(dom) {
if (link) {
text = parent.querySelector('.a-b-f-i-p-R');
if (text) {
- text = escape(text.textContent.substring(0, 100));
+ text = encodeURIComponent(text.textContent.substring(0, 100));
}
link = link.href;
// Support multiple accounts.

0 comments on commit 00aa1d6

Please sign in to comment.