[Pkg-mozext-commits] [firebug] 08/59: Issue 6710 (Issues with locales containing quotes) https://code.google.com/p/fbug/issues/detail?id=6710
David Prévot
taffit at moszumanska.debian.org
Thu Aug 14 14:52:53 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository firebug.
commit 4299d067fe4a3ffd6fa2f9667423f37fd7affba1
Author: Sebastian Zartner <sebastianzartner at gmail.com>
Date: Mon Jul 7 23:47:40 2014 +0200
Issue 6710 (Issues with locales containing quotes)
https://code.google.com/p/fbug/issues/detail?id=6710
Part 3: Escape backslashes within attributes in Domplate
---
extension/content/firebug/lib/domplate.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extension/content/firebug/lib/domplate.js b/extension/content/firebug/lib/domplate.js
index 4cb69f3..fc65371 100644
--- a/extension/content/firebug/lib/domplate.js
+++ b/extension/content/firebug/lib/domplate.js
@@ -868,7 +868,7 @@ function parseParts(str)
if (!index)
{
// Double quotes in strings need to be escaped (see issue 6710)
- return str.replace('"', '\\"', "g");
+ return str.replace("\\", "\\\\", "g").replace('"', '\\"', "g");
}
// If we have data after our last matched index we append it here as the final step
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git
More information about the Pkg-mozext-commits
mailing list