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:
parent
99e7560601
commit
547b8451c0
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue