From e414894e2d3505d335340cd408410fcfa9be738d Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 29 Nov 2025 23:07:31 -0500 Subject: Render task descriptions as markdown (not just epics) Build and tests pass. The fix is complete - task descriptions now render Task-Id: t-187 --- Omni/Jr/Web.hs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Omni/Jr/Web.hs') diff --git a/Omni/Jr/Web.hs b/Omni/Jr/Web.hs index 7ca4a9f..e00ebcd 100644 --- a/Omni/Jr/Web.hs +++ b/Omni/Jr/Web.hs @@ -2204,10 +2204,7 @@ instance Lucid.ToHtml DescriptionViewPartial where "Edit" if Text.null desc then Lucid.p_ [Lucid.class_ "empty-msg"] (if isEpic then "No design document yet." else "No description yet.") - else - if isEpic - then Lucid.div_ [Lucid.class_ "markdown-content"] (renderMarkdown desc) - else Lucid.pre_ [Lucid.class_ "description"] (Lucid.toHtml desc) + else Lucid.div_ [Lucid.class_ "markdown-content"] (renderMarkdown desc) instance Lucid.ToHtml DescriptionEditPartial where toHtmlRaw = Lucid.toHtml -- cgit v1.2.3