Project

General

Profile

Bug #20268 » rtehtmlarea_bugfix_10834_follow_up_2_trunk.patch

Administrator Admin, 2009-04-06 06:12

View differences:

typo3/sysext/rtehtmlarea/htmlarea/plugins/DefaultClean/default-clean.js (copie de travail)
var newc = node.className.replace(/(^|\s)mso.*?(\s|$)/ig,' ');
if(newc != node.className) {
node.className = newc;
if(!/\S/.test(node.className)) node.removeAttribute("className");
if(!/\S/.test(node.className)) {
if (!HTMLArea.is_opera) {
node.removeAttribute("class");
if (HTMLArea.is_ie) {
node.removeAttribute("className");
}
} else {
node.className = '';
}
}
}
}
function clearStyle(node) {
(4-4/6)