VID-2016 fixing issue with line breaks inside captions