Skip to content

Commit

Permalink
🐛 Only rap when there's music playing. Closes #2299.
Browse files Browse the repository at this point in the history
  • Loading branch information
jackmcdade committed Aug 27, 2020
1 parent 65235e5 commit 736c73d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Modifiers/CoreModifiers.php
Original file line number Diff line number Diff line change
Expand Up @@ -2182,6 +2182,10 @@ public function widont($value)
*/
public function wrap($value, $params)
{
if (! $value) {
return $value;
}

$attributes = '';
$tag = Arr::get($params, 0);

Expand Down

0 comments on commit 736c73d

Please sign in to comment.