mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 06:37:59 +01:00
allow link bodies to contain bracketed literals
This commit is contained in:
parent
a74e7e9170
commit
2c2ad9ee82
1 changed files with 4 additions and 2 deletions
|
@ -146,7 +146,8 @@ defmodule Textile.Lexer do
|
||||||
blockquote_open,
|
blockquote_open,
|
||||||
blockquote_open_cite,
|
blockquote_open_cite,
|
||||||
blockquote_close,
|
blockquote_close,
|
||||||
link_markup_start,
|
bracketed_literal,
|
||||||
|
link_markup_start
|
||||||
])
|
])
|
||||||
|
|
||||||
link_contents_element =
|
link_contents_element =
|
||||||
|
@ -157,6 +158,7 @@ defmodule Textile.Lexer do
|
||||||
blockquote_open,
|
blockquote_open,
|
||||||
blockquote_open_cite,
|
blockquote_open_cite,
|
||||||
blockquote_close,
|
blockquote_close,
|
||||||
|
bracketed_literal,
|
||||||
link_markup_element
|
link_markup_element
|
||||||
])
|
])
|
||||||
|
|
||||||
|
@ -242,4 +244,4 @@ defmodule Textile.Lexer do
|
||||||
|
|
||||||
|
|
||||||
defparsec :lex, textile
|
defparsec :lex, textile
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue