fix OB1 error

This fixes the `valgrind` error noted by BDR -- the `findNextRoxygenTagOrEnd` could actually place the index one beyond the length of the `content_` string.