1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-02-01 11:59:08 +00:00

Support mycomarkup in blockquotes

This commit is contained in:
bouncepaw 2021-01-04 02:18:23 +05:00
parent bee862563d
commit 184aa1ae32

View File

@ -219,8 +219,13 @@ normalState:
case startsWith(">"): case startsWith(">"):
addParagraphIfNeeded() addParagraphIfNeeded()
addLine(fmt.Sprintf( addLine(
"<blockquote id='%d'>%s</blockquote>", state.id, remover(">")(line))) fmt.Sprintf(
"<blockquote id='%d'>%s</blockquote>",
state.id,
ParagraphToHtml(state.name, remover(">")(line)),
),
)
case startsWith("=>"): case startsWith("=>"):
addParagraphIfNeeded() addParagraphIfNeeded()
state.where = "launchpad" state.where = "launchpad"