Render ticket descriptions as markdown (#114) #119

Open
jared wants to merge 1 commits from fix-114-description-markdown into development
pull from: fix-114-description-markdown
1 Commits
Author SHA1 Message Date
jaredandClaude Opus 5.5 fb2df0ee49 Render ticket descriptions as markdown (#114)
Lint / JS (eslint) (push) Successful in 17s
Lint / PHP requirements (version + extensions) (push) Successful in 39s
Lint / JS (eslint) (pull_request) Successful in 33s
Lint / PHP (phpcs PSR-12) (pull_request) Successful in 1m3s
Lint / PHP requirements (version + extensions) (pull_request) Successful in 58s
Lint / Deploy (pull_request) Skipped
Lint / Notify on failure (pull_request) Skipped
Security / PHP Security (semgrep) (push) Successful in 2m52s
Security / PHP Security (semgrep) (pull_request) Successful in 3m2s
Lint / PHP (phpcs PSR-12) (push) Successful in 48s
Lint / Deploy (push) Skipped
Lint / Notify on failure (push) Skipped
The ticket page escaped descriptions to plain text, so headings, lists,
tables, bold and code from Gandalf, MCP and manual tickets showed raw.
renderDescriptionView() now uses parseMarkdown(), the same sanitising
parser as comments, and the view drops pre-wrap for normal white space
like markdown comments do. The edit view still shows the raw source.

The parser also no longer treats underscores inside words as emphasis,
so identifiers like node_network_up stay literal (in comments too).

hwmonDaemon's fixed-width box layout loses its alignment as markdown;
LotusGuild/hwmonDaemon#38 switches it to markdown and converts its past
tickets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 01:02:02 -05:00