Fix for converting captions to img title tags