links might also contain underscores

This commit is contained in:
byte[] 2019-11-27 16:52:26 -05:00
parent 640bf64a8c
commit e6f97ff4eb

View file

@ -125,13 +125,13 @@ defmodule Textile.Lexer do
link_url_stop =
choice([
string("*"),
string("_"),
string("@"),
string("^"),
string("~"),
string("."),
string("!"),
string(","),
string("_") |> concat(choice([space(), eos()])),
string("?") |> concat(choice([space(), eos()]))
])