logo

auto_linker

AutoLinker-shim, based on https://git.pleroma.social/pleroma/auto_linker
commit: 10cf319731366ca34e8b1a913c948efb38a6f876
parent: 80b9b85040d41ec98fb25b8c491443e650b4a475
Author: Stephen M. Pallen <smpallen99@yahoo.com>
Date:   Sun, 10 Dec 2017 19:37:28 -0500

update parser

Diffstat:

Mlib/auto_linker/parser.ex7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/lib/auto_linker/parser.ex b/lib/auto_linker/parser.ex @@ -43,10 +43,9 @@ defmodule AutoLinker.Parser do :auto_linker |> Application.get_env(:opts, []) |> Enum.into(%{}) - config = - :auto_linker - |> Application.get_env(:attributes, []) - |> Enum.into(config) + |> Map.put(:attributes, + Application.get_env(:auto_linker, :attributes, []) + ) opts = Enum.reduce @default_opts, opts, fn opt, acc ->