Render markdown tables as text, not HTML #92

Merged
merge-queue merged 1 commit from ATC-101-markdown-tables into main 2026-11-15 09:03:36 -08:00
Owner

Work package: https://openproject.home.romaine.life/wp/ATC-101

Tables showed as empty HTML tags (…). goldmark.New applies its extensions after its options, so GFM and DefinitionList registered their HTML renderers onto the glamour renderer we passed with WithRenderer, at a priority that beats glamour's; tables, strikethrough, task-list boxes and definition lists all went out as HTML. The renderer is now set with SetRenderer after New, as glamour.NewTermRenderer does, and a test holds all four rendering as text.

Work package: https://openproject.home.romaine.life/wp/ATC-101 Tables showed as empty HTML tags (<table><tr><td></td>…). goldmark.New applies its extensions after its options, so GFM and DefinitionList registered their HTML renderers onto the glamour renderer we passed with WithRenderer, at a priority that beats glamour's; tables, strikethrough, task-list boxes and definition lists all went out as HTML. The renderer is now set with SetRenderer after New, as glamour.NewTermRenderer does, and a test holds all four rendering as text.
Render GFM tables, strikethrough, task lists and definition lists as text (ATC-101)
All checks were successful
CI / changes (pull_request) Successful in 2s
CI / build (pull_request) Successful in 45s
CI / pcs (pull_request) Has been skipped
CI / prune-releases (pull_request) Has been skipped
CI / home-sync (pull_request) Successful in 0s
merge-queue landed on main
c9210db09a
merge-queue deleted branch ATC-101-markdown-tables 2026-11-15 09:03:36 -08:00
Sign in to join this conversation.
No reviewers
No labels
queue
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/at-claude!92
No description provided.