Numbered list syntax is one of the biggest weak points in this otherwise fantastic piece of software (Mediawiki). Any reasonably interesting or realistic list will break the numbering scheme. Don't spend time wrestling with it: just use HTML for numbered lists.
<ol> <li>...</li> </ol>
For source code listings, use the GeSHi extension which is FANTASTIC.
http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi
DanB
-----Original Message----- Is there a way to add newlines inside <pre> blocks without the numbered list knowing? (I'm making this term up, but say, a "soft newline"? :-)
) Or, is there a better way to include source code in a wiki?