[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 307/483: Fixed: Preview doesn't work correctly if the rule contains international characters

David Prévot taffit at moszumanska.debian.org
Thu Jan 22 21:41:51 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus-element-hiding-helper.

commit b49c8c774a4bc25f3cb946c39c1f725ada365811
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Wed Jan 26 13:15:39 2011 +0100

    Fixed: Preview doesn't work correctly if the rule contains international characters
---
 chrome/content/composer.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/composer.js b/chrome/content/composer.js
index f751602..43a4e01 100644
--- a/chrome/content/composer.js
+++ b/chrome/content/composer.js
@@ -373,7 +373,7 @@ function updateExpression()
       curData = null;
   }
 
-  stylesheetURL = "data:text/css," + encodeURIComponent(expression + "{display: none !important;}");
+  stylesheetURL = "data:text/css;charset=utf-8," + encodeURIComponent(expression + "{display: none !important;}");
   expression = domainData.selected + "##" + expression;
 
   document.getElementById("expression").value = expression;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus-element-hiding-helper.git



More information about the Pkg-mozext-commits mailing list