1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-29 16:48:33 +03:00

Allow raw HTML in inline Markdown because why not

This commit is contained in:
Artyom 2016-04-16 02:08:31 +03:00
parent 43bb1f3a6f
commit 63301eb330

View File

@ -144,7 +144,7 @@ extractSections blocks = go sections
renderMarkdownInline :: Text -> MarkdownInline
renderMarkdownInline s = MarkdownInline s (htmlToBuilder md) inlines
where
Doc opts blocks = markdown def{allowRawHtml=False} s
Doc opts blocks = markdown def s
inlines = extractInlines =<< blocks
md = renderInlines opts (walk shortcutLinks inlines)
--