From bda93505f3a3595e8ae254b8eb48026605dde64d Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Wed, 24 Sep 2025 10:56:32 -0700 Subject: [PATCH] WebPaste: no longer split long lines --- lib/PBot/Core/WebPaste.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PBot/Core/WebPaste.pm b/lib/PBot/Core/WebPaste.pm index 7372a133..33a4d399 100644 --- a/lib/PBot/Core/WebPaste.pm +++ b/lib/PBot/Core/WebPaste.pm @@ -48,7 +48,7 @@ sub paste($self, $text, %opts) { %opts = (%default_opts, %opts); # word-wrap text unless no_split is set - $text =~ s/(.{150})\s/$1\n/g unless $opts{no_split}; + # $text =~ s/(.{150})\s/$1\n/g unless $opts{no_split}; # encode paste to utf8 $text = encode('UTF-8', $text);