don't abort on common link characters

This commit is contained in:
byte[] 2019-11-27 16:45:31 -05:00
parent 9dbdad0d49
commit 640bf64a8c

View file

@ -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 =