Index: typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js
===================================================================
--- typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js (révision 9298)
+++ typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js (copie de travail)
@@ -229,6 +229,13 @@
el = HTMLArea.getElementObject(node, "a");
if (el != null && /^a$/i.test(el.nodeName)) node = el;
if (node) {
+ // Export trailing br that IE may include in the link
+ if (Ext.isIE) {
+ if (node.lastChild && /^br$/i.test(node.lastChild.nodeName)) {
+ HTMLArea.removeFromParent(node.lastChild);
+ node.parentNode.insertBefore(this.editor.document.createElement('br'), node.nextSibling);
+ }
+ }
if (HTMLArea.classesAnchorSetup && cur_class) {
for (var i = HTMLArea.classesAnchorSetup.length; --i >= 0;) {
anchorClass = HTMLArea.classesAnchorSetup[i];