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(","),
space(),
eos()
string("?") |> concat(choice([space(), eos()]))
])
link_contents_start =