## math formulars rendered not correctly document.SUBSCRIPTION_OPTIONS = { "thing": "thread", "subscribed": false, "url": "subscribe", "icon": { "css": "fa fa-envelope-o" } };

Defects
Anonymous
2014-07-18
2014-07-20
• Anonymous - 2014-07-18

In the matrix item with simple English wiki there are "&"s between columns.
Why? how to remove the "&" and make matrices rendered correctly?
Thanks.

• gnosygnu - 2014-07-20

Hi! Thanks for the report!

Could you specify the page where you're seeing the "&"'s? Per your "matrix item", I tried simple.wikipedia.org/wiki/Matrix_(mathematics). It looks fine on my machine (see the attached screenshot). I'm guessing you mean somewhere else, but I don't know where.

• gnosygnu - 2014-07-20

Ughh... Never mind. I saw the error just after I posted.

This should be fixed for v1.7.3. More details are below.

I usually like to credit users for finding defects. Let me know if you want to be credited: you'd get a line in the XOWA change log like "Math:Do not escape ampersand {detected by your_nickname}"

Otherwise, thanks again!

The source for the matrix is as follows:

$\begin{bmatrix} 1 & 2 & 3 \\ 1 & 2 & 7 \\ 4 & 9 & 2 \\ 6 & 1 & 5 \end{bmatrix}$


The problem is that XOWA escapes "&" to "\&". This forces the & to appear.

I changed this behavior for back in May for https://sourceforge.net/p/xowa/tickets/326/. I'm going to remove the escaping logic for the plain ampersand. I don't use LaTeX, and I didn't realize that & was a formatting symbol.

• Anonymous - 2014-07-20

screenshot from www.wikipedia.org
see the difference.

• gnosygnu - 2014-07-20

Thanks for the screenshot, and sorry for the confusion. I should have struck out my earlier comment.

This is a defect in XOWA, and is fixed for tonight's build. Thanks for reporting it.

Anonymous