Is there a way to render links within Phoenix.HTML.Format.text_to_html?

I have users that submit text and I would like to render links within Phoenix.HTML.Format.text_to_html/2 but am running into some issues. Ideally I would create an iodata to pass in but Phoenix.HTML.Format.text_to_html/2 only supports strings so I can’t use Phoenix.HTML.Link.link/2 first.

Docs:
https://hexdocs.pm/phoenix_html/Phoenix.HTML.Format.html#text_to_html/2

You can use the :escape option, but this will let through all html.

Hmm, maybe I’ll have to look at the implementation of text_to_html