Format caption to include new lines