Aleksander Machniak
2013-04-26 f23ef1c96859f6b01a9268c8606a22ceb719cf3d
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)