Fix endOffset when relocating.

This commit is contained in:
Mayhem 2013-08-19 17:41:31 +02:00
parent b378db78f5
commit 19524d26b6

View File

@ -87,7 +87,7 @@ Linkify =
{parentNode} = parentNode
parent = parentNode.parentNode
boundaries.endNode = parent
boundaries.endOffset = [parent.childNodes...].indexOf parentNode
boundaries.endOffset = [parent.childNodes...].indexOf(parentNode) + 1
cleanLink: (anchor) ->
# TODO