From 184aa1ae322211aa8f1d7b7fb933bcbf5038570a Mon Sep 17 00:00:00 2001 From: bouncepaw Date: Mon, 4 Jan 2021 02:18:23 +0500 Subject: [PATCH] Support mycomarkup in blockquotes --- markup/lexer.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/markup/lexer.go b/markup/lexer.go index 4dae95b..24aaee5 100644 --- a/markup/lexer.go +++ b/markup/lexer.go @@ -219,8 +219,13 @@ normalState: case startsWith(">"): addParagraphIfNeeded() - addLine(fmt.Sprintf( - "
%s
", state.id, remover(">")(line))) + addLine( + fmt.Sprintf( + "
%s
", + state.id, + ParagraphToHtml(state.name, remover(">")(line)), + ), + ) case startsWith("=>"): addParagraphIfNeeded() state.where = "launchpad"