aboutsummaryrefslogtreecommitdiff
path: root/mardown/ast_paragraph.go
diff options
context:
space:
mode:
Diffstat (limited to 'mardown/ast_paragraph.go')
-rw-r--r--mardown/ast_paragraph.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/mardown/ast_paragraph.go b/mardown/ast_paragraph.go
index 1a78ced..3e8d027 100644
--- a/mardown/ast_paragraph.go
+++ b/mardown/ast_paragraph.go
@@ -69,6 +69,9 @@ func paragraph(lxs *lexers, oneLine bool) (*astParagraph, error) {
//TODO: handle
case lexerExternal:
n = 0
+ if lxs.Current().Value == "!" {
+ tree.content = append(tree.content, astLiteral(lxs.Current().Value))
+ }
//TODO: handle
case lexerCode:
n = 0