Thomas Bruederli
2013-06-28 0f39b4f4cdd60f4af5f85d656ed08698e86287ea
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)