Bug #20377 » 0011009_v3.patch
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");
|