Index: modules/publishcontent/publishcontent.module
===================================================================
--- modules/publishcontent/publishcontent.module	(revision 953)
+++ modules/publishcontent/publishcontent.module	(working copy)
@@ -49,9 +49,9 @@
 }
 
 function _publishcontent_view_access($node) {
-  return user_access('  publish *all* content') ||
+  return user_access('publish *all* content') ||
          user_access('unpublish *all* content') ||
-         user_access('  publish '. check_plain($node->type) .' content') ||
+         user_access('publish '. check_plain($node->type) .' content') ||
          user_access('unpublish '. check_plain($node->type) .' content') ||
          node_access('view', $node);
 }
@@ -62,9 +62,9 @@
   }
 
   global $user;
-  return !$node->status && (user_access('  publish *all* content') ||
-                           (user_access('  publish own '. check_plain($node->type) .' content', $user) && $user->uid == $node->uid) ||
-                            user_access('  publish '. check_plain($node->type) .' content'));
+  return !$node->status && (user_access('publish *all* content') ||
+                           (user_access('publish own '. check_plain($node->type) .' content', $user) && $user->uid == $node->uid) ||
+                            user_access('publish '. check_plain($node->type) .' content'));
 }
 function _publishcontent_unpublish_access($node, $token = FALSE) {
   if ($token && !drupal_valid_token($token)) {
@@ -85,14 +85,14 @@
  */
 function publishcontent_perm() {
   $perms = array(
-    '  publish *all* content',
+    'publish *all* content',
     'unpublish *all* content',
   );
 
   foreach (node_get_types() as $type) {
     if (isset($type->type)) {
-      $perms[] = '  publish '. check_plain($type->type) .' content';
-      $perms[] = '  publish own '. check_plain($type->type) .' content';
+      $perms[] = 'publish '. check_plain($type->type) .' content';
+      $perms[] = 'publish own '. check_plain($type->type) .' content';
       $perms[] = 'unpublish '. check_plain($type->type) .' content';
       $perms[] = 'unpublish own '. check_plain($type->type) .' content';
     }
