What does ">-" mean in templates?

I’ve seen and used it but I would like to know what it means and what the differences are?

data_template:
  rgb_color: >-

vs.

data_template:
  rgb_color: >

>- strips the spaces at the beginning and end of a line, giving you more flexibility in how you lay out your template

1 Like