summaryrefslogtreecommitdiff
path: root/Omni/Jr
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-11-29 23:07:31 -0500
committerBen Sima <ben@bensima.com>2025-11-29 23:07:31 -0500
commite414894e2d3505d335340cd408410fcfa9be738d (patch)
tree65ac9e8f020f60a33037cdcd378d71b68b334873 /Omni/Jr
parent6c9af097bd18bce2a0c0939484818c4074de37ae (diff)
Render task descriptions as markdown (not just epics)
Build and tests pass. The fix is complete - task descriptions now render Task-Id: t-187
Diffstat (limited to 'Omni/Jr')
-rw-r--r--Omni/Jr/Web.hs5
1 files changed, 1 insertions, 4 deletions
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