User:WOSlinkerBot/tabletidy.js: Difference between revisions

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