- Create a document with just a block image [[File:Foo.jpg|thumb]] on one line
- Edit the document and try to place the cursor in the second slug (after the image)
- An exception is thrown (getNearestContentOffset(selection.end) returns -1 and this is fed into getAnnotationsFromOffset)
Version: unspecified
Severity: normal