[Pkg-mozext-commits] [firebug] 59/82: Escape things in the HTML editor

David Prévot taffit at moszumanska.debian.org
Mon Mar 31 22:45:41 UTC 2014


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

taffit pushed a commit to tag fbtest-1.11.2
in repository firebug.

commit 0c0de5c924ba2d4cead4c692979c163acfabce7b
Author: Simon Lindholm <simon.lindholm10 at gmail.com>
Date:   Tue Dec 11 21:32:55 2012 +0100

    Escape things in the HTML editor
---
 extension/content/firebug/html/htmlPanel.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/extension/content/firebug/html/htmlPanel.js b/extension/content/firebug/html/htmlPanel.js
index 1d71977..eb9897d 100644
--- a/extension/content/firebug/html/htmlPanel.js
+++ b/extension/content/firebug/html/htmlPanel.js
@@ -327,6 +327,7 @@ Firebug.HTMLPanel.prototype = Obj.extend(WalkingPanel,
         editor.innerEditMode = node.localName in Css.innerEditableTags;
 
         var html = editor.innerEditMode ? node.innerHTML : Xml.getElementHTML(node);
+        html = Str.escapeForHtmlEditor(html);
         Firebug.Editor.startEditing(box, html, editor);
     },
 

-- 
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