-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I get a weird behavior when using elm-docs:
Here is the original code:
{-| Don't create anything in the DOM. This is useful when you have a conditionnal
and are forced to return a Node.
textOrNone : Maybe String -> Node msg
textOrNone value =
case value of
Nothing ->
BodyBuilder.none
Just content ->
BodyBuilder.text content
-}
none : Node msg
none =
text ""And here is the generated code:
none
none : Node msg
Don't create anything in the DOM. This is useful when you have a conditionnal
and are forced to return a Node.
textOrNone : Maybe String -> Node msg
textOrNone value = case value of
Nothing ->
BodyBuilder.none
Just content ->
BodyBuilder.text content
Metadata
Metadata
Assignees
Labels
No labels