mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
fix markup at start
This commit is contained in:
parent
0ed5c127f9
commit
bba114e4eb
1 changed files with 8 additions and 3 deletions
|
@ -178,7 +178,7 @@ defmodule Textile.Lexer do
|
|||
|
||||
{markup_start, markup_element} = markup_ending_in(eos())
|
||||
|
||||
textile_main =
|
||||
textile_default =
|
||||
choice([
|
||||
bracketed_literal,
|
||||
blockquote_open_cite,
|
||||
|
@ -187,13 +187,18 @@ defmodule Textile.Lexer do
|
|||
spoiler_open,
|
||||
spoiler_close,
|
||||
link,
|
||||
image,
|
||||
image
|
||||
])
|
||||
|
||||
textile_main =
|
||||
choice([
|
||||
textile_default,
|
||||
markup_element
|
||||
])
|
||||
|
||||
textile_start =
|
||||
choice([
|
||||
textile_main,
|
||||
textile_default,
|
||||
markup_start
|
||||
])
|
||||
|
||||
|
|
Loading…
Reference in a new issue