GameServerWeb.PageHTML
(game_server_web v1.0.935)
Copy Markdown
This module contains pages rendered by PageController.
See the page_html directory for all templates available.
Summary
Functions
Converts a plain-text description to safe HTML, supporting **bold** markdown.
Functions
@spec format_description(String.t()) :: Phoenix.HTML.safe()
Converts a plain-text description to safe HTML, supporting **bold** markdown.
The input is HTML-escaped first, then **text** patterns are replaced with
<strong>text</strong> tags. Returns a Phoenix.HTML.safe() tuple.