]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 137669: remove <nobr> tags from attachment status lists
authorjustdave%syndicomm.com <>
Tue, 16 Apr 2002 11:25:20 +0000 (11:25 +0000)
committerjustdave%syndicomm.com <>
Tue, 16 Apr 2002 11:25:20 +0000 (11:25 +0000)
Patch by Jeffrey Baker <jwbaker@acm.org>
r= justdave x2

template/default/attachment/list.atml
template/default/attachment/viewall.atml

index 794f92f59592e9f9677b1d9511a73fb5295bcb1d..5bc5217c9fc0cb7961eb307ef2ac83f32d7e018a 100755 (executable)
       <td valign="top">[% attachment.date %]</td>
 
       <td valign="top">
-        <nobr>
         [% IF attachment.statuses.size == 0 %]
           <i>none</i>
         [% ELSE %]
           [% FOREACH s = attachment.statuses %]
-            [% s FILTER html %]<br>
+            [% s FILTER html FILTER replace('\s', '&nbsp;') %]<br>
           [% END %]
         [% END %]
-        </nobr>
       </td>
 
       <td valign="top">
index c3cca2ff3baf8d5599b989cbcde2d0517004ae11..88c92b9699d4696be08181d52d51f345a6cfcccd 100755 (executable)
       <td valign="top">[% a.date %]</td>
 
       <td valign="top">
-        <nobr>
         [% IF a.statuses.size == 0 %]
           <i>none</i>
         [% ELSE %]
           [% FOREACH s = a.statuses %]
-            [% s FILTER html %]<br>
+            [% s FILTER html FILTER replace('\s', '&nbsp;') %]<br>
           [% END %]
         [% END %]
-        </nobr>
       </td>
 
       <td valign="top">