User:WOSlinkerBot/tabletidy.js: Difference between revisions

Content deleted Content added
WOSlinkerBot (talk | contribs)
No edit summary
WOSlinkerBot (talk | contribs)
No edit summary
Line 136:
 
myContent = myContent.replace(/\{\| *class\=\"wikitable\" (width\=\"\d*\%\") *cellpadding\=\"\d*\" *cellspacing\=\"\d*\"/g,'{| class="wikitable" $1');
myContent = myContent.replace(/\{\| *class\=\"wikitable\" (width\=\"\d*\%\") *border\=\"\d\" *cellpadding\=\"\d*\" *cellspacing\=\"\d*\"/g,'{| class="wikitable" $1');
 
if(document.getElementById('wpTextbox1').value != myContent) {