User:WOSlinkerBot/tabletidy.js: Difference between revisions

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