mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 06:37: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())
|
{markup_start, markup_element} = markup_ending_in(eos())
|
||||||
|
|
||||||
textile_main =
|
textile_default =
|
||||||
choice([
|
choice([
|
||||||
bracketed_literal,
|
bracketed_literal,
|
||||||
blockquote_open_cite,
|
blockquote_open_cite,
|
||||||
|
@ -187,13 +187,18 @@ defmodule Textile.Lexer do
|
||||||
spoiler_open,
|
spoiler_open,
|
||||||
spoiler_close,
|
spoiler_close,
|
||||||
link,
|
link,
|
||||||
image,
|
image
|
||||||
|
])
|
||||||
|
|
||||||
|
textile_main =
|
||||||
|
choice([
|
||||||
|
textile_default,
|
||||||
markup_element
|
markup_element
|
||||||
])
|
])
|
||||||
|
|
||||||
textile_start =
|
textile_start =
|
||||||
choice([
|
choice([
|
||||||
textile_main,
|
textile_default,
|
||||||
markup_start
|
markup_start
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue