diff options
Diffstat (limited to 'Omni/Jr')
| -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 |
