Missing operation for only trimming leading
This commit is contained in:
parent
a7e86d3381
commit
14e1f64a09
1 changed files with 1 additions and 0 deletions
|
@ -215,6 +215,7 @@ defmodule Linkify.Parser do
|
||||||
buffer |> String.trim_leading("(") |> String.trim_trailing(")")
|
buffer |> String.trim_leading("(") |> String.trim_trailing(")")
|
||||||
else
|
else
|
||||||
:both -> buffer |> String.trim_leading("(") |> String.trim_trailing(")")
|
:both -> buffer |> String.trim_leading("(") |> String.trim_trailing(")")
|
||||||
|
:leading_only -> buffer |> String.trim_leading("(")
|
||||||
:noop -> buffer
|
:noop -> buffer
|
||||||
_ -> buffer
|
_ -> buffer
|
||||||
end
|
end
|
||||||
|
|
Reference in a new issue