From 640bf64a8c745f6bb6be190cd1303709339b3841 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Wed, 27 Nov 2019 16:45:31 -0500 Subject: [PATCH] don't abort on common link characters --- lib/textile/lexer.ex | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/textile/lexer.ex b/lib/textile/lexer.ex index f55f8f41..61792c13 100644 --- a/lib/textile/lexer.ex +++ b/lib/textile/lexer.ex @@ -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 =