Browse Source

Updating readme

master
Patrick Ward 9 years ago
parent
commit
e537bef42c
  1. 8
      README.md

8
README.md

@ -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

Loading…
Cancel
Save