From e537bef42cb55c543b9ff50868f4f5f41e8bad82 Mon Sep 17 00:00:00 2001 From: Patrick Ward Date: Tue, 27 Oct 2015 15:58:45 -0400 Subject: [PATCH] Updating readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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