mirror of
https://github.com/github/semantic.git
synced 2024-11-25 11:04:00 +03:00
dd, not dl.
This commit is contained in:
parent
0a71db8850
commit
2c56a1914c
@ -100,7 +100,7 @@ instance ToMarkup f => ToMarkup (Renderable (Info, Syntax a (f, Range))) where
|
||||
Leaf _ -> span . string . toString $ slice range source
|
||||
Indexed children -> ul . mconcat $ wrapIn li <$> contentElements children
|
||||
Fixed children -> ul . mconcat $ wrapIn li <$> contentElements children
|
||||
Keyed children -> dl . mconcat $ wrapIn dl <$> contentElements children
|
||||
Keyed children -> dl . mconcat $ wrapIn dd <$> contentElements children
|
||||
where markupForSeparatorAndChild :: ToMarkup f => ([Markup], Int) -> (f, Range) -> ([Markup], Int)
|
||||
markupForSeparatorAndChild (rows, previous) (child, range) = (rows ++ [ string (toString $ slice (Range previous $ start range) source), toMarkup child ], end range)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user