mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
links might also contain underscores
This commit is contained in:
parent
640bf64a8c
commit
e6f97ff4eb
1 changed files with 1 additions and 1 deletions
|
@ -125,13 +125,13 @@ defmodule Textile.Lexer do
|
||||||
link_url_stop =
|
link_url_stop =
|
||||||
choice([
|
choice([
|
||||||
string("*"),
|
string("*"),
|
||||||
string("_"),
|
|
||||||
string("@"),
|
string("@"),
|
||||||
string("^"),
|
string("^"),
|
||||||
string("~"),
|
string("~"),
|
||||||
string("."),
|
string("."),
|
||||||
string("!"),
|
string("!"),
|
||||||
string(","),
|
string(","),
|
||||||
|
string("_") |> concat(choice([space(), eos()])),
|
||||||
string("?") |> concat(choice([space(), eos()]))
|
string("?") |> concat(choice([space(), eos()]))
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue