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