From: Siebrand Mazeland Date: Wed, 6 Apr 2011 13:12:56 +0000 (+0200) Subject: Tabs to spaces. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1a91f8543850c94e56805ba3848a7d9ec0fc30d3;p=quix0rs-gnu-social.git Tabs to spaces. --- 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); } }