Hi,

for the R extension for Mediawiki I put the text output into a 
<pre>...</pre>
block, e.g. my extension produces

<pre>
[1] 2 6 3
[1] 1 2 3
     x y
[1,] 2 1
[2,] 6 2
[3,] 3 3
   [,1] [,2] [,3]
x    2    6    3
y    1    2    3
</pre>

This renders fine under MW 1.6.5. But under MW 1.13  this renders as:

<pre>[1] 2 6 3
<p>[1] 1 2 3
</p>
<pre>    x y
</pre>
<p>[1,] 2 1
[2,] 6 2
[3,] 3 3
</p>
<pre> [,1] [,2] [,3]
</pre>
<p>x    2    6    3
y    1    2    3
</p>
</pre>

and the <pre> within the <pre> causes a second box to appear with in the first 
box which looks ugly. I think it comes from the indented "x y" and "[,1] [,2] 
[,3]".

What kind of output I have to produce such that it is not modified by MW?

Thanks in advance

Sigbert 


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to