Skip to content

Commit

Permalink
Update for new core
Browse files Browse the repository at this point in the history
  • Loading branch information
lastguest authored Aug 25, 2016
1 parent 59b7977 commit 97a85d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extension.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

String::extend([
Text::extend([
'markdown' => function($text){
static $markdown_parser = null;
if (null === $markdown_parser) $markdown_parser = new ParsedownExtra();
return $markdown_parser->text($text);
}
]);
]);

0 comments on commit 97a85d3

Please sign in to comment.