mirror of
https://github.com/aelve/guide.git
synced 2024-12-29 00:24:01 +03:00
Allow raw HTML in inline Markdown because why not
This commit is contained in:
parent
43bb1f3a6f
commit
63301eb330
@ -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)
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user