readium/EPUBCFI — pull request #3 by marcuswu (2013-08-20 01:09:25+00:00)
Title: Fixing indexing and text offset problems in injectCFIMarkerIntoText.

This change fixes a couple of situations where injectCFIMarkerIntoText would index into the text node list or calculate offsets into text incorrectly. It also makes the method more CFI spec compliant by allowing for injection after the last character of a text node.