Changes

Jump to navigation Jump to search
4 bytes removed ,  12:04, 8 November 2014
m
no edit summary
Line 262: Line 262:  
     for (var i=0;i<MyClasses.length;i++) {
 
     for (var i=0;i<MyClasses.length;i++) {
 
         str=MyClasses[i].innerHTML;
 
         str=MyClasses[i].innerHTML;
alert(str.replace(/(<p>|<\u2Fp>)/gmi,""));
+
alert(str.replace(/(<p>|<\/p>)/gmi,""));
         MyClasses[i].innerHTML=str.replace(/(<p>|<\u2Fp>)/gmi,"");
+
         MyClasses[i].innerHTML=str.replace(/(<p>|<\/p>)/gmi,"");
    
         //should contain two spans: pcsx2_collapsible_text_part and pcsx2_collapsible_text_full
 
         //should contain two spans: pcsx2_collapsible_text_part and pcsx2_collapsible_text_full
67,022

edits

Navigation menu