HTML tags in Uniform form using Quill editor

Hi,
I am working on integrating the Quill editor into a Kirby Uniform form. I have got fairly far, with the form submitting and sending the data from Quill along with it. However, when the content is saved on the page I am submitting to, it is looking like this:


<p>I am some content and <strong>I am bold</strong> and <em>I am italic</em> and <a href="https://google.com" rel="noopener noreferrer" target="_blank">I am a link</a></p>

Rather than with the correct tags. This could be an issue with how I am getting the data from Quill:

form.onsubmit = function() {
  content.value = quill.root.innerHTML;
};

If anyone has done this successfully and has some tips that would be great, or if there is anything I can do to the data once it gets to Kirby to translate the tags, that would be good too.

Thanks!

Ok I sorted it, using Html::decode on the data sent from the form.