Author: dr.burnett
Description:
Adding "nowrap" to a table cell or row should force the browser to not wrap
lines at spaces. However, media wiki ignores these. For example, putting this
in an article:
{| width="50"
- | |
nowrap | hello world |
} | |
<TABLE width="50">
<TR nowrap>
<TD nowrap>hello world</TD>
</TR>
</TABLE>
will generate the following HTML:
<table width="50">
<tr>
<td>hello world</td>
</tr>
</table>
<table width="50">
<tr>
<td>hello world</td>
</tr>
</table>
which is clearly missing the nowrap attribute. The only way to actually force
this is to replace all spaces with the "& nbsp ;" equivalent, which is nothing
short of a hack.
Version: unspecified
Severity: normal
Platform: PC