Project

General

Profile

Bug #20377 » 0011009.patch

Administrator Admin, 2009-06-18 09:20

View differences:

typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js (Arbeitskopie)
this.editor._doc.execCommand("UnLink", false, null);
}
if (HTMLArea.is_gecko && !HTMLArea.is_safari && !HTMLArea.is_opera) {
this.editor._doc.execCommand("CreateLink", false, encodeURIComponent(theLink));
this.editor._doc.execCommand("CreateLink", false, encodeURI(theLink));
} else {
this.editor._doc.execCommand("CreateLink", false, theLink);
}
......
}
}
if (HTMLArea.is_gecko && !HTMLArea.is_safari && !HTMLArea.is_opera) {
node.href = decodeURIComponent(node.href);
node.href = decodeURI(node.href);
}
if (cur_target.trim()) node.target = cur_target.trim();
else node.removeAttribute("target");
(5-5/9)