parcelvoy / platform

Parcelvoy: Open source multi-channel marketing automation platform. Send data-driven emails, sms, push notifications and more!
https://parcelvoy.com
MIT License
261 stars 47 forks source link

Fix/link wrap #480

Closed leobarcellos closed 4 months ago

leobarcellos commented 4 months ago

Fixed regex for link wrapping. It was not working as expected with the string example below: Screenshot 2024-07-26 at 16 18 34

I've added the \s* part to get spaces and newline to work.

pushchris commented 4 months ago

Appreciate the contribution, great addition for folks writing their own HTML where properties in an element might be split across multiple lines!