<verbatim>...</verbatim> tags that are in turn under a list item swaps the order of the resulting </ul> and </pre> tags in the rendered page.
* A list item.
<verbatim>
* A sublist item.
</verbatim>
This code is rendered like this:
* A sublist item.
However, the actual HTML is:
<ul>
<li>A list item.
<pre>
* A sublist item.
</ul>
</pre>
Note how the </pre> closing tag occurs after the </ul> closing tag. It should like like this:
<ul>
<li>A list item.
<pre>
* A sublist item.
</pre>
</ul>
Netscape, IE, and Mozilla browsers will display the resulting badly nested HTML without complaint, but the W3C's Amaya browser chokes on the flipped tags.
TWiki::getRenderedVersion :
if( $insidePRE || $insideVERBATIM ) {
# inside PRE or VERBATIM
# close list tags if any
if( @code ) {
$result .= &emitCode( "", 0 );
$code = "";
}
| TWiki version: | Beta 20010803 |
| TWiki plugins: | DefaultPlugin CalendarPlugin InterwikiPluginEarlyDev LocalCityTimePlugin SpreadSheetPlugin |
| Server OS: | Solaris 2.6 |
| Web server: | Apache 1.3.12 |
| Perl version: | 5.6.1 |
| Client OS: | MS Windows 95 MS Windows 2000 Pro |
| Web Browser: | Netscape 4.77 Netscape 6.1 Mozilla 0.9.3 Internet Explorer 5.5 sp2 Amaya 5.1 |