diff options
| author | Ben Sima <ben@bensima.com> | 2025-11-29 23:07:31 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-11-29 23:07:31 -0500 |
| commit | e414894e2d3505d335340cd408410fcfa9be738d (patch) | |
| tree | 65ac9e8f020f60a33037cdcd378d71b68b334873 | |
| parent | 6c9af097bd18bce2a0c0939484818c4074de37ae (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
| -rw-r--r-- | Omni/Jr/Web.hs | 5 |
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 |
