diff options
author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2020-07-27 08:11:07 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2020-07-27 08:11:07 +0000 |
commit | 58c09a8258759302cb90b08b6055ffaf9c5fe4bc (patch) | |
tree | a76ed257035f29e266290fa1b488dd6ee75db328 | |
parent | a7616dec8c43309975cbdfcdd6a1808b56aa66e6 (diff) | |
parent | 4d80cf540913cddbf86a89f94ea75c6c12d8376b (diff) | |
download | pleroma-58c09a8258759302cb90b08b6055ffaf9c5fe4bc.tar.gz |
Merge branch 'fix/update-types-in-link-formatter' into 'develop'
Update types in Pleroma.Formatter group in description.exs
See merge request pleroma/pleroma!2796
-rw-r--r-- | config/description.exs | 6 |
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] |