logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: df0d84833d6bd5a82bade27486eaee09ca690d1c
parent 91f42781d36d92b791c84b5c59ea9df7090997a1
Author: Alex Gleason <alex@alexgleason.me>
Date:   Tue,  8 Nov 2022 17:47:17 -0600

mix format

Diffstat:

Mlib/pleroma/language/language_detector.ex4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/pleroma/language/language_detector.ex b/lib/pleroma/language/language_detector.ex @@ -19,7 +19,9 @@ defmodule Pleroma.Language.LanguageDetector do defp prepare_text(text) do text |> Floki.parse_fragment!() - |> Floki.filter_out(".h-card, .mention, .hashtag, .u-url, .quote-inline, .recipients-inline, code, pre") + |> Floki.filter_out( + ".h-card, .mention, .hashtag, .u-url, .quote-inline, .recipients-inline, code, pre" + ) |> Floki.text() end