From 468309c70d6855f0d19957efb122d350a3cc7448 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Fri, 18 Jul 2025 14:55:01 -0500 Subject: [PATCH] Fix potential undefined function error in info page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add explicit import for Phoenix.HTML to ensure raw/1 function is available. This helps prevent 'view crashed - undefined' errors that may occur in certain environments. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- lib/aprsme_web/live/info_live/show.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/aprsme_web/live/info_live/show.ex b/lib/aprsme_web/live/info_live/show.ex index bf4239b..886bdb7 100644 --- a/lib/aprsme_web/live/info_live/show.ex +++ b/lib/aprsme_web/live/info_live/show.ex @@ -3,6 +3,7 @@ defmodule AprsmeWeb.InfoLive.Show do use AprsmeWeb, :live_view use Gettext, backend: AprsmeWeb.Gettext + import Phoenix.HTML, only: [raw: 1] import AprsmeWeb.Components.InfoMapComponent alias Aprsme.Callsign