diff --git a/core/modules/node/content_types.js b/core/modules/node/content_types.js
index 43cfa37..629b56a 100644
--- a/core/modules/node/content_types.js
+++ b/core/modules/node/content_types.js
@@ -12,7 +12,7 @@ Drupal.behaviors.contentTypes = {
     $context.find('fieldset#edit-workflow').drupalSetSummary(function(context) {
       var vals = [];
       $(context).find("input[name^='node_options']:checked").parent().each(function() {
-        vals.push(Drupal.checkPlain($(this).text()));
+        vals.push(Drupal.checkPlain($.trim($(this).text())));
       });
       if (!$(context).find('#edit-node-options-status').is(':checked')) {
         vals.unshift(Drupal.t('Not published'));
@@ -23,7 +23,7 @@ Drupal.behaviors.contentTypes = {
       var vals = [];
       var $context = $(context);
       $context.find('input:checked').next('label').each(function() {
-        vals.push(Drupal.checkPlain($(this).text()));
+        vals.push(Drupal.checkPlain($.trim($(this).text())));
       });
       if (!$context.find('#edit-node-submitted').is(':checked')) {
         vals.unshift(Drupal.t("Don't display post information"));
