# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. Index: moodle/grade/report/grader/lib.php --- moodle/grade/report/grader/lib.php Base (1.98.2.67) +++ moodle/grade/report/grader/lib.php Locally Modified (Based On 1.98.2.67) @@ -626,7 +626,8 @@ // Element is a category else if ($type == 'category') { $headerhtml .= '' - . shorten_text($element['object']->get_name()); + //substituting in  's as IE 7 is ignoring nowraps on tds. MDL-21088 + . str_replace(' ', ' ', shorten_text($element['object']->get_name())); $headerhtml .= $this->get_collapsing_icon($element); // Print icons @@ -658,7 +659,10 @@ $headerlink = $this->gtree->get_element_header($element, true, $this->get_pref('showactivityicons'), false); $headerhtml .= '' - . shorten_text($headerlink) . $arrow; + //MDL-21088 + //We may want to substitute in  's as IE 7 is ignoring nowraps on tds. + //.str_replace(' ', ' ', shorten_text($headerlink)) . $arrow; + .shorten_text($headerlink) . $arrow; $headerhtml .= ''; }