User:WOSlinkerBot/tabletidy.js: Difference between revisions

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