diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-03-05 05:37:33 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-03-13 04:26:56 +0100 |
commit | c42d34b2ec2dacd9a038f721f7a817ee43cc0a4f (patch) | |
tree | 7f658bf7c31adfd5ea4726f90124193213deddf7 /lib/pleroma/formatter.ex | |
parent | 8cd3eada7dec00f4e2ddd24c6a4286a4450281c1 (diff) | |
download | pleroma-c42d34b2ec2dacd9a038f721f7a817ee43cc0a4f.tar.gz |
[Credo] fix Credo.Check.Readability.MaxLineLength
Diffstat (limited to 'lib/pleroma/formatter.ex')
-rw-r--r-- | lib/pleroma/formatter.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/formatter.ex b/lib/pleroma/formatter.ex index 048c032ed..1e4ede3f2 100644 --- a/lib/pleroma/formatter.ex +++ b/lib/pleroma/formatter.ex @@ -10,6 +10,7 @@ defmodule Pleroma.Formatter do @markdown_characters_regex ~r/(`|\*|_|{|}|[|]|\(|\)|#|\+|-|\.|!)/ @link_regex ~r{((?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~%:/?#[\]@!\$&'\(\)\*\+,;=.]+)|[0-9a-z+\-\.]+:[0-9a-z$-_.+!*'(),]+}ui + # credo:disable-for-previous-line Credo.Check.Readability.MaxLineLength @auto_linker_config hashtag: true, hashtag_handler: &Pleroma.Formatter.hashtag_handler/4, |