Commit 9cfbefb7 authored by Camil Staps's avatar Camil Staps 🚀

Merge branch 'fixDynamicEditorHtmlView' into 'master'

fix html view of dynamic editor list constructors with empty list as argument

See merge request !526
parents a50ca35f 0b425b29
Pipeline #47284 passed with stages
in 12 minutes and 10 seconds
......@@ -536,10 +536,7 @@ where
: [toHtml a \\ a <- args]
]
ListCons _ ->
DivTag [classAttr] $ tl $ flatten
[ [SpanTag [] [Text label], toHtml a]
\\ a <- args
]
DivTag [classAttr] $ intersperse (SpanTag [] [Text label]) $ toHtml <$> args
_ ->
abort "corrupt dynamic editor value\n"
DEJSONValue json -> case builder of
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment