diff --git a/README.md b/README.md index 88a56ae..a6f76be 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ mix test ### Code Quality ```bash -#mix format - nope, not yet +mix format mix credo ``` diff --git a/lib/components_elixir_web/live/components_live.ex b/lib/components_elixir_web/live/components_live.ex index 473ca5d..f18bd5f 100644 --- a/lib/components_elixir_web/live/components_live.ex +++ b/lib/components_elixir_web/live/components_live.ex @@ -1199,8 +1199,9 @@ defmodule ComponentsElixirWeb.ComponentsLive do <%= if component.description do %>
{component.description}
+ <%!-- Keep interpolation inline to prevent whitespace-pre-wrap from preserving template indentation. + Use phx-no-format so the formatter won't break the layout. --%> +{component.description}
{component.description}
+ <%!-- Keep interpolation inline to prevent whitespace-pre-wrap from preserving template indentation. + Use phx-no-format so the formatter won't break the layout. --%> +{component.description}