<div class="arbor-simple-text" role="paragraph">On Friday 15th March a lady from the charity Daisy Chain will be joining us in school. We welcome parents and carers to join us for a tea or coffee and have the opportunity to find out how this amazing charity offers support to families, doors open at 2.15pm in the KS2 building. Please come along to find out more, share ideas and network with other parents. More information about Daisy Chain can also be found at <a href="https://www.daisychainproject.co.uk/" target="_blank" rel="noopener noreferrer">Daisy Chain |Autism & Neurodiversity (daisychainproject.co.uk)</a>.</div>
Because we use innerText, the link gets lost.
We could perhaps just whitelist, but how is GPT gonna handle it?
Possibly a better solution would be to store and the anchor context and restore it at the same time we insert the newlines?
Sample message with an embedded link:
Because we use innerText, the link gets lost.