[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 308/483: Fixed: Escaping for special characters following a whitespace is wrong
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 6db90fb71039f8da362074d9bd5247d51f887956
Author: Wladimir Palant <trev at adblockplus.org>
Date: Wed Jan 26 13:33:47 2011 +0100
Fixed: Escaping for special characters following a whitespace is wrong
---
chrome/content/composer.js | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/chrome/content/composer.js b/chrome/content/composer.js
index 43a4e01..d4dba20 100644
--- a/chrome/content/composer.js
+++ b/chrome/content/composer.js
@@ -388,10 +388,7 @@ function updateExpression()
function escapeChar(dummy, match)
{
- let code = match.charCodeAt(0).toString(16);
- while (code.length < 6)
- code = "0" + code;
- return "\\" + code;
+ return "\\" + match.charCodeAt(0).toString(16) + " ";
}
function fillDomains(domainData) {
--
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