mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
don't abort on common link characters
This commit is contained in:
parent
9dbdad0d49
commit
640bf64a8c
1 changed files with 1 additions and 5 deletions
|
@ -127,16 +127,12 @@ defmodule Textile.Lexer do
|
||||||
string("*"),
|
string("*"),
|
||||||
string("_"),
|
string("_"),
|
||||||
string("@"),
|
string("@"),
|
||||||
string("+"),
|
|
||||||
string("^"),
|
string("^"),
|
||||||
string("-"),
|
|
||||||
string("~"),
|
string("~"),
|
||||||
string("."),
|
string("."),
|
||||||
string("?"),
|
|
||||||
string("!"),
|
string("!"),
|
||||||
string(","),
|
string(","),
|
||||||
space(),
|
string("?") |> concat(choice([space(), eos()]))
|
||||||
eos()
|
|
||||||
])
|
])
|
||||||
|
|
||||||
link_contents_start =
|
link_contents_start =
|
||||||
|
|
Loading…
Reference in a new issue