Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix bug to support UTF8 posts

  • Loading branch information...
commit 00aa1d6d1a256ee93409c3cead765d16a373f0e6 1 parent 7ad2ce1
@mohamedmansour mohamedmansour authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/injection.js
View
2  js/injection.js
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.