Phoenix.HTML has deprecated Phoenix.HTML.Tag since the 4.X release. Because of this, the content_tag function is no longer available. I think a good path forward may be to use Phoenix Components with the ~H sigil for formatting. Unfortunately this does require bringing in phoenix_live_view as a dependency, which may not be desirable.
Phoenix.HTML
has deprecatedPhoenix.HTML.Tag
since the 4.X release. Because of this, thecontent_tag
function is no longer available. I think a good path forward may be to use Phoenix Components with the ~H sigil for formatting. Unfortunately this does require bringing inphoenix_live_view
as a dependency, which may not be desirable.