Aleksander Machniak
2012-12-25 7ac94421bf85eb04c00c5ed05390e1ea0c6bcb0b
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)