allow link bodies to contain bracketed literals

This commit is contained in:
byte[] 2019-12-16 00:36:35 -05:00
parent a74e7e9170
commit 2c2ad9ee82

View file

@ -146,7 +146,8 @@ defmodule Textile.Lexer do
blockquote_open,
blockquote_open_cite,
blockquote_close,
link_markup_start,
bracketed_literal,
link_markup_start
])
link_contents_element =
@ -157,6 +158,7 @@ defmodule Textile.Lexer do
blockquote_open,
blockquote_open_cite,
blockquote_close,
bracketed_literal,
link_markup_element
])
@ -242,4 +244,4 @@ defmodule Textile.Lexer do
defparsec :lex, textile
end
end