commit e414894e2d3505d335340cd408410fcfa9be738d
Author: Ben Sima <ben@bensima.com>
Date: Sat Nov 29 23:07:31 2025
Render task descriptions as markdown (not just epics)
Build and tests pass. The fix is complete - task descriptions now
render
Task-Id: t-187
diff --git a/Omni/Jr/Web.hs b/Omni/Jr/Web.hs
index 7ca4a9f6..e00ebcd8 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