diff --git a/README.md b/README.md index 6af0cff..0055e88 100644 --- a/README.md +++ b/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