diff options
author | tusooa <tusooa@kazv.moe> | 2023-07-12 22:07:16 -0400 |
---|---|---|
committer | tusooa <tusooa@kazv.moe> | 2023-09-13 19:20:32 -0400 |
commit | 87353e5ad12799d12507253fe9a0363fd9f0c817 (patch) | |
tree | d23f7f34530e3019810856fbbc542b138bd10879 /lib | |
parent | 8596f926543126efdb4b8cfe70beab6812824398 (diff) | |
download | pleroma-87353e5ad12799d12507253fe9a0363fd9f0c817.tar.gz pleroma-87353e5ad12799d12507253fe9a0363fd9f0c817.zip |
Fix config descriptions for mrf inline quote
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/activity_pub/mrf/inline_quote_policy.ex | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/pleroma/web/activity_pub/mrf/inline_quote_policy.ex b/lib/pleroma/web/activity_pub/mrf/inline_quote_policy.ex index aaa209aa1..171b22c5e 100644 --- a/lib/pleroma/web/activity_pub/mrf/inline_quote_policy.ex +++ b/lib/pleroma/web/activity_pub/mrf/inline_quote_policy.ex @@ -61,14 +61,16 @@ defmodule Pleroma.Web.ActivityPub.MRF.InlineQuotePolicy do %{ key: :mrf_inline_quote, related_policy: "Pleroma.Web.ActivityPub.MRF.InlineQuotePolicy", - label: "MRF Inline Quote", - description: "Force quote post URLs inline", + label: "MRF Inline Quote Policy", + type: :group, + description: "Force quote url to appear in post content.", children: [ %{ - key: :prefix, + key: :template, type: :string, - description: "Prefix before the link", - suggestions: ["RT", "QT", "RE", "RN"] + description: + "The template to append to the post. `{url}` will be replaced with the actual link to the quoted post.", + suggestions: ["<bdi>RT:</bdi> {url}"] } ] } |