<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Some time ago I wrote a wiki article on our NumLib
(<a class="moz-txt-link-freetext" href="https://wiki.lazarus.freepascal.org/NumLib_Documentation">https://wiki.lazarus.freepascal.org/NumLib_Documentation</a>).
Looking at this page again today I found that the math expressions
are no longer rendered correctly by Firefox, it just displays the
MathML source text, e.g.
<a class="moz-txt-link-freetext" href="https://wiki.lazarus.freepascal.org/NumLib_Documentation#Matrices">https://wiki.lazarus.freepascal.org/NumLib_Documentation#Matrices</a>.
Chrome does display it correctly, though. So I suspect that
Firefox has disabled yet another add-on. I've been using the
add-on "NativeMathML" which has been working so far. Is there
anything else that I should select?</p>
<p>There must also have been a change related to <code> tags
enclosing a paragraph. Now short empty "code-blocks" appear on the
rendered page before and after such a paragraph. This happens for
example in
<a class="moz-txt-link-freetext" href="https://wiki.lazarus.freepascal.org/NumLib_Documentation#Generic_matrices">https://wiki.lazarus.freepascal.org/NumLib_Documentation#Generic_matrices</a>
- see screenshot. The wiki code is like this:</p>
<blockquote>
<p><tt>Alternatively a matrix also can be specified as a
one-dimensional array. This works because all data are found
within the same memory block. The array index,
<code>k</code> must be converted to the 2D matrix
indexes, <code>i, j</code>:</tt><tt><br>
</tt><tt><br>
</tt><tt><code></tt><tt><br>
</tt><tt> k := i * n + j <==> i = k div n,
j := k mod n {for 0-based array and matrix indexes}</tt><tt><br>
</tt><tt> k := (i-1) * n + j <==> i := (k-1) div n + 1,
j := (k-1) mod n + 1 {for 1-based array and matrix indexes}</tt><tt><br>
</tt><tt></code></tt><tt><br>
</tt><tt><br>
</tt><tt>Using a one-dimensional array a</tt><br>
</p>
</blockquote>
<p>Both Firefox and Chrome display it this way. I noticed that using
<syntaxhighlight> tags avoids this isse. Is this the way to
do it now?</p>
<p>Werner<br>
</p>
<p><br>
</p>
</body>
</html>