re-add space/eos to stop tokens

This commit is contained in:
byte[] 2019-11-27 16:53:52 -05:00
parent e6f97ff4eb
commit 9e5d4e02d8

View file

@ -132,7 +132,9 @@ defmodule Textile.Lexer do
string("!"), string("!"),
string(","), string(","),
string("_") |> concat(choice([space(), eos()])), string("_") |> concat(choice([space(), eos()])),
string("?") |> concat(choice([space(), eos()])) string("?") |> concat(choice([space(), eos()])),
space(),
eos()
]) ])
link_contents_start = link_contents_start =