dynamically replace \n with new lines in labels