From 1a91f8543850c94e56805ba3848a7d9ec0fc30d3 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Wed, 6 Apr 2011 15:12:56 +0200 Subject: [PATCH] Tabs to spaces. --- plugins/Awesomeness/AwesomenessPlugin.php | 32 +++++++++++------------ 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/plugins/Awesomeness/AwesomenessPlugin.php b/plugins/Awesomeness/AwesomenessPlugin.php index 31f8ea35f4..edcbe6660f 100644 --- a/plugins/Awesomeness/AwesomenessPlugin.php +++ b/plugins/Awesomeness/AwesomenessPlugin.php @@ -42,7 +42,7 @@ if (!defined('STATUSNET')) { class AwesomenessPlugin extends Plugin { - const VERSION = '0.0.42'; + const VERSION = '0.0.42'; public function onPluginVersion(&$versions) { @@ -72,22 +72,22 @@ class AwesomenessPlugin extends Plugin $action->elementStart('div', array('id' => 'cornify_section', 'class' => 'section')); - $action->raw( - << - Cornify - - EOT - ); + ); - $action->elementEnd('div'); + $action->elementEnd('div'); } /** @@ -102,7 +102,7 @@ EOT */ function onStartSaveNewNoticeWeb($action, $user, &$content, &$options) { - $content = htmlspecialchars($content); - $options['rendered'] = preg_replace("/(^|\s|-)((?:awesome|awesomeness)[\?!\.\,]?)(\s|$)/i", " $2 ", $content); + $content = htmlspecialchars($content); + $options['rendered'] = preg_replace("/(^|\s|-)((?:awesome|awesomeness)[\?!\.\,]?)(\s|$)/i", " $2 ", $content); } } -- 2.39.5