Skip to content

Commit

Permalink
fix trim param
Browse files Browse the repository at this point in the history
  • Loading branch information
Iain S Gillis committed Apr 10, 2022
1 parent 2370c0d commit 4d67005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shortcodes/HighlightPhpShortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function init()
$content = $sc->getContent();
$isInline = is_null($content);
$code = $isInline ? $sc->getParameter('code') : $content;
$code = trim($code, '\n\r');
$code = trim($code, "\n\r");
return $this->render($lang, $code, $isInline);
});
}
Expand Down

0 comments on commit 4d67005

Please sign in to comment.