Updating readme

This commit is contained in:
Patrick Ward
2015-10-27 15:58:45 -04:00
parent 3406b38020
commit e537bef42c

View File

@ -55,11 +55,11 @@ Becomes:
### Strip Shortcodes
You can strip shortcodes from text using the `Shortcode::strip` function. For example, when using with the `Sensory5\BlogExtension` plugin, you can strip shortcodes from the summary using the following code:
You can strip shortcodes from text using the `Shortcode::strip` function.
\Shortcode::strip($content);
Event::listen('sensory5.blog.summary', function($content) {
return Str::limit(Html::strip(\Shortcode::strip($content)), 600);
});
### Dependency Issues with Service Provider and Facade