Skip to content

Commit

Permalink
Telegram is very harmful
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-helldar committed Dec 20, 2024
1 parent 907cc9f commit 33988f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Data/Casts/ChangelogCast.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function cast(DataProperty $property, mixed $value, array $properties, Cr
return Str::of($this->removeEmojis($value))
->replaceMatches([$this->from, $this->fullLink], '')
->replaceMatches($this->contributors, $this->contributor)
->when($this->short, fn (Stringable $str) => $str->limit(3000, preserveWords: true))
->when($this->short, fn (Stringable $str) => $str->limit(2000, preserveWords: true))
->trim()
->markdown($this->options)
->replaceMatches($this->resolveSpaces, '<li>$1</li>')
Expand Down

0 comments on commit 33988f8

Please sign in to comment.