summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelina Filippova <linakirsanova@gmail.com>2020-07-26 01:48:50 +0300
committerAngelina Filippova <linakirsanova@gmail.com>2020-07-26 01:48:50 +0300
commit4d80cf540913cddbf86a89f94ea75c6c12d8376b (patch)
treed2214382317c30cccb64b62e4c72c9a3cd4a7b7f
parent51627a10e5d815d7a5edc277c974d3bd463273be (diff)
Update types in Pleroma.Formatter group
-rw-r--r--config/description.exs6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/description.exs b/config/description.exs
index e4850218e..a5e66f3fb 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -2235,13 +2235,13 @@ config :pleroma, :config_description, [
children: [
%{
key: :class,
- type: [:string, false],
+ type: [:string, :boolean],
description: "Specify the class to be added to the generated link. Disable to clear.",
suggestions: ["auto-linker", false]
},
%{
key: :rel,
- type: [:string, false],
+ type: [:string, :boolean],
description: "Override the rel attribute. Disable to clear.",
suggestions: ["ugc", "noopener noreferrer", false]
},
@@ -2252,7 +2252,7 @@ config :pleroma, :config_description, [
},
%{
key: :truncate,
- type: [:integer, false],
+ type: [:integer, :boolean],
description:
"Set to a number to truncate URLs longer than the number. Truncated URLs will end in `...`",
suggestions: [15, false]