3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-09-26 22:27:23 +02:00

WebPaste: no longer split long lines

This commit is contained in:
Pragmatic Software 2025-09-24 10:56:32 -07:00
parent 49b926c372
commit bda93505f3
No known key found for this signature in database
GPG Key ID: CC916B6E3C84ECCE

View File

@ -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);