User:WOSlinkerBot/tabletidy.js: Difference between revisions

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