Update types in Pleroma.Formatter group

This commit is contained in:
Angelina Filippova 2020-07-26 01:48:50 +03:00
parent 51627a10e5
commit 4d80cf5409
1 changed files with 3 additions and 3 deletions

View File

@ -2235,13 +2235,13 @@
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 @@
},
%{
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]