]> 91.132.146.200 Git - insipid.git/commitdiff
FF_EXT: Fixed a bug in tags suggestion where backslashes were not properly escaped.
authordannym <dannymiles2@gmail.com>
Mon, 30 Aug 2010 19:33:43 +0000 (21:33 +0200)
committerdannym <dannymiles2@gmail.com>
Mon, 30 Aug 2010 19:33:43 +0000 (21:33 +0200)
ff_ext/inspd@danny/chrome/inspd/content/v2/altpost/altpost_trigger.js

index 5239e1625c22f95e9ba3254d4ac0329a08ee9f18..3c8119146ce57bdcc3a6439ef92f16f91e16aa3f 100644 (file)
@@ -158,6 +158,7 @@ var $altp = {
                for(var i = 0;i<j;i++){\r
                                var tag_name = $utils.trim(tagsfromtbl_all_anchors[i].title.replace(/\((.*)\)/,'')).toLowerCase() ;  \r
                                tag_name = tag_name.replace(/"/g,'\\"');\r
+                               tag_name = tag_name.replace(/\\/g,'');\r
                                //alert(tag_name);\r
                                txtTagsObj +='"'+tag_name+'"';\r
                                if (i < j-1 ){txtTagsObj += ',';}\r