diff --git a/sharethis.install b/sharethis.install
index 3f8a7a7..4827040 100644
--- a/sharethis.install
+++ b/sharethis.install
@@ -15,16 +15,16 @@ function sharethis_install() {
  * Creates a publisher key for use with the ShareThis API.
  */
 function sharethis_create_publisher_key() {
-	$pubkey = "dr-";
-	$pubkey .= dechex(mt_rand( 0, 0xffff ));
-	$pubkey .= dechex(mt_rand( 0, 0xffff )) . "-";
-	$pubkey .= dechex(mt_rand( 0, 0xffff )) . "-";
-	$pubkey .= dechex(mt_rand( 0, 0xffff )) . "-";
-	$pubkey .= dechex(mt_rand( 0, 0xffff )) . "-";
-	$pubkey .= dechex(mt_rand( 0, 0xffff ));
-	$pubkey .= dechex(mt_rand( 0, 0xffff ));
-	$pubkey .= dechex(mt_rand( 0, 0xffff ));
-	return $pubkey;
+  $pubkey = 'dr-';
+  $pubkey .= dechex(mt_rand( 0, 0xffff ));
+  $pubkey .= dechex(mt_rand( 0, 0xffff )) . '-';
+  $pubkey .= dechex(mt_rand( 0, 0xffff )) . '-';
+  $pubkey .= dechex(mt_rand( 0, 0xffff )) . '-';
+  $pubkey .= dechex(mt_rand( 0, 0xffff )) . '-';
+  $pubkey .= dechex(mt_rand( 0, 0xffff ));
+  $pubkey .= dechex(mt_rand( 0, 0xffff ));
+  $pubkey .= dechex(mt_rand( 0, 0xffff ));
+  return $pubkey;
 }
 
 /**
diff --git a/sharethis.module b/sharethis.module
index fdb427e..e92072e 100644
--- a/sharethis.module
+++ b/sharethis.module
@@ -349,7 +349,7 @@ function sharethis_node_view($node, $view_mode, $langcode) {
   // Pathauto integration !
   if (module_exists('pathauto')) {
     $path_module ='/';
-    $path_module .= drupal_lookup_path('alias',"node/".$node->nid);
+    $path_module .= drupal_lookup_path('alias', "node/" . $node->nid);
   }
 
   global $base_url;
@@ -527,7 +527,7 @@ function sharethis_block_contents() {
  */
 function sharethis_contextual_links_view_alter(&$element, $items) {
   // Add the configuration link for the ShareThis settings on the block itself.
-  if(isset($element['#element']['#block']->module) && $element['#element']['#block']->module == 'sharethis' && $element['#element']['#block']->delta == 'sharethis_block' && user_access('access administration pages')) {
+  if (isset($element['#element']['#block']->module) && $element['#element']['#block']->module == 'sharethis' && $element['#element']['#block']->delta == 'sharethis_block' && user_access('access administration pages')) {
     $element['#links']['sharethis-configure'] = array(
       'title' => t('Configure ShareThis'),
       'href' => 'admin/config/services/sharethis',
