On line 242 of webform/components/grid.inc

  $row[] = array('data' => '&nbsp', 'class' => 'checkbox webform-grid-option');

is missing a semicolon after the &nbsp

I've attached a patch.

--- modules/webform/components/grid.inc
+++ modules/webform/components/grid.inc
@@ -242,7 +242,7 @@
           $row[] = array('data' => '<strong>X</strong>', 'class' => 'checkbox webform-grid-option');
         }
         else {
-          $row[] = array('data' => '&nbsp', 'class' => 'checkbox webform-grid-option');
+          $row[] = array('data' => '&nbsp;', 'class' => 'checkbox webform-grid-option');
         }
       }
       $rows[] = $row;
CommentFileSizeAuthor
grid.inc_.patch451 bytesMac Clemmens

Comments

quicksketch’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, obviously a typo.

quicksketch’s picture

Title: possible typo for table layout on grid.inc - nbsp » Typo prints incorrect HTML entity, &nbsp instead of &nbsp;
Version: 6.x-3.4 » 7.x-3.6
Status: Reviewed & tested by the community » Fixed

Committed finally.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.