Last modified: 2006-02-03 06:36:16 UTC
This wiki code :<math>\foo x</math> produces the following HTML output: <dl><dd><strong class='error'>Failed to parse (unknown function\foo): \foo </dd></dl> <p>x</strong> The tags are incorrectly nested. The cause of this is that the faulty TeX inside the math tags is replaced with an error message containing the contents of the tags, which span multiple lines: :<strong class='error'>Failed to parse (unknown function\foo): \foo x</strong> This confuses the code for indenting the paragraph.
Created attachment 851 [details] Patch to fix bug The fix is to replace all newlines in the contents of the math tags with spaces. This is achieved with the attached patch.
Applied to CVS HEAD for 1.6.