Added support for inline Instagram images. Fixed an off-by-one error.