Render literal × in "Feed Loss (×2)" on /path

HEEx attribute values aren't run through Elixir's string escape
machinery, so "Feed Loss (\u00d72)" was showing up verbatim in the
Power Budget card instead of collapsing to the multiplication sign.
Swap the escape for the literal U+00D7 character.
This commit is contained in:
Graham McIntire 2026-04-12 17:46:59 -05:00
parent 99e7560601
commit 547b8451c0
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -734,7 +734,7 @@ defmodule MicrowavepropWeb.PathLive do
unit="dBi"
positive
/>
<.budget_row label="Feed Loss (\u00d72)" value={-2.0} unit="dB" />
<.budget_row label="Feed Loss (×2)" value={-2.0} unit="dB" />
<div class="divider my-1"></div>
<.budget_row label="EIRP" value={@result.power_budget.eirp_dbm - 2.0} unit="dBm" bold />
<.budget_row