1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-22 03:12:58 +03:00

Add a TODO

This commit is contained in:
Artyom Kazak 2019-09-23 19:02:22 +03:00
parent d7295d53f8
commit c051d27a41

View File

@ -323,10 +323,12 @@ deriving instance Show Heading
instance Aeson.ToJSON MarkdownInline where
toJSON md = Aeson.object [
"text" Aeson..= markdownInlineSource md,
-- TODO: remove "html" when the old frontend is removed
"html" Aeson..= utf8ToText (markdownInlineHtml md) ]
instance Aeson.ToJSON MarkdownBlock where
toJSON md = Aeson.object [
"text" Aeson..= markdownBlockSource md,
-- TODO: remove "html" when the old frontend is removed
"html" Aeson..= utf8ToText (markdownBlockHtml md) ]
instance Aeson.ToJSON MarkdownTree where
toJSON md = Aeson.object [