Index: typo3/sysext/rtehtmlarea/htmlarea/htmlarea-gecko.js =================================================================== --- typo3/sysext/rtehtmlarea/htmlarea/htmlarea-gecko.js (révision 6418) +++ typo3/sysext/rtehtmlarea/htmlarea/htmlarea-gecko.js (copie de travail) @@ -701,7 +701,16 @@ // Remove any anchor created empty if (p.previousSibling) { var a = p.previousSibling.lastChild; - if (a && /^a$/i.test(a.nodeName) && !/\S/.test(a.innerHTML)) HTMLArea.removeFromParent(a); + if (a && /^a$/i.test(a.nodeName) && !/\S/.test(a.innerHTML)) { + if (HTMLArea.is_opera) { + this.removeMarkup(a); + } else { + HTMLArea.removeFromParent(a); + } + } + if (!/\S/.test(p.previousSibling.textContent) && !HTMLArea.is_opera) { + p.previousSibling.innerHTML = "
"; + } } if (/^br$/i.test(p.nodeName)) { p = p.parentNode.insertBefore(this._doc.createTextNode("\x20"), p);