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
On 11/27/08, Sigbert Klinke sigbert@wiwi.hu-berlin.de wrote:
<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
Also ok in 1.14alpha (r43634). Evidently something got broken then fixed again.
—C.W.
Hi,
On 11/27/08, Sigbert Klinke sigbert@wiwi.hu-berlin.de wrote:
<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
Also ok in 1.14alpha (r43634). Evidently something got broken then fixed again.
I just updated from 1.13.1 to 1.13.2, same effect. But I will wait until 1.14. becomes available.
Thanks a lot
Sigbert
mediawiki-l@lists.wikimedia.org