program/js/tiny_mce/plugins/autolink/editor_plugin_src.js
@@ -89,8 +89,11 @@ while (endContainer.nodeType != 3 && endContainer.firstChild) endContainer = endContainer.firstChild; r.setStart(endContainer, 0); r.setEnd(endContainer, endContainer.nodeValue.length); // Move range to text node if (endContainer.nodeType == 3) { r.setStart(endContainer, 0); r.setEnd(endContainer, endContainer.nodeValue.length); } } if (r.endOffset == 1)