Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libs/PhpDocumentor-1.3.2/phpDocumentor/Smarty-2.6.0/libs/plugins/modifier.strip_tags.php')
-rwxr-xr-xlibs/PhpDocumentor-1.3.2/phpDocumentor/Smarty-2.6.0/libs/plugins/modifier.strip_tags.php62
1 files changed, 31 insertions, 31 deletions
diff --git a/libs/PhpDocumentor-1.3.2/phpDocumentor/Smarty-2.6.0/libs/plugins/modifier.strip_tags.php b/libs/PhpDocumentor-1.3.2/phpDocumentor/Smarty-2.6.0/libs/plugins/modifier.strip_tags.php
index 516a87fcd4..45f1ec14d1 100755
--- a/libs/PhpDocumentor-1.3.2/phpDocumentor/Smarty-2.6.0/libs/plugins/modifier.strip_tags.php
+++ b/libs/PhpDocumentor-1.3.2/phpDocumentor/Smarty-2.6.0/libs/plugins/modifier.strip_tags.php
@@ -1,31 +1,31 @@
-<?php
-/**
- * Smarty plugin
- * @package Smarty
- * @subpackage plugins
- */
-
-
-/**
- * Smarty strip_tags modifier plugin
- *
- * Type: modifier<br>
- * Name: strip_tags<br>
- * Purpose: strip html tags from text
- * @link http://smarty.php.net/manual/en/language.modifier.strip.tags.php
- * strip_tags (Smarty online manual)
- * @param string
- * @param boolean
- * @return string
- */
-function smarty_modifier_strip_tags($string, $replace_with_space = true)
-{
- if ($replace_with_space)
- return preg_replace('!<[^>]*?>!', ' ', $string);
- else
- return strip_tags($string);
-}
-
-/* vim: set expandtab: */
-
-?>
+<?php
+/**
+ * Smarty plugin
+ * @package Smarty
+ * @subpackage plugins
+ */
+
+
+/**
+ * Smarty strip_tags modifier plugin
+ *
+ * Type: modifier<br>
+ * Name: strip_tags<br>
+ * Purpose: strip html tags from text
+ * @link http://smarty.php.net/manual/en/language.modifier.strip.tags.php
+ * strip_tags (Smarty online manual)
+ * @param string
+ * @param boolean
+ * @return string
+ */
+function smarty_modifier_strip_tags($string, $replace_with_space = true)
+{
+ if ($replace_with_space)
+ return preg_replace('!<[^>]*?>!', ' ', $string);
+ else
+ return strip_tags($string);
+}
+
+/* vim: set expandtab: */
+
+?>