I’m using Snipcart with Kirby CMS. Product titles and descriptions are defined in textareas of multiple lines and output in data attributes as strings with <br>
tags within, e.g. "Author Name<br>Book Title<br>"
Is there any way to split these strings by <br>
into a new array and output each line separately?
I am using custom templates and have some React knowledge, happy to implement some custom Vue if this will be possible