On the MathJax demo page, entering a < b
results in $a<b$. This is consistent with MathJax documentation.
On Mathematics.SE the behavior is different: $a < b$. This becomes a problem when one copies formulas from a comment into an answer, as mentioned here. In the HTML source of comments, <
is replaced by <
Can MathJax be configured to render
$a < b$
on this site?
Edit: I just came across another place where this issue arises:
Edit 2: I found the problem: SE escapes the ampersand in <
turning the string into &lt;
. And that is an HTML entity that MathJax does not support in present.
Either MathJax should interpret
&lt;
as<
, or SE should stop messing up<
Related threads, all marked with status-completed:
$a < b$
. $\endgroup$<
isn't an issue, since<
is understood by MathJax. The problem is that SE escapes&
in<
. Obligatory xkcd reference. By the way, the change in sanitizing can be localized to TeX markup, since it is processed by its own script before being handed off to MathJax. So it's not entirely unrealistic, but of course of lower priority than, say, Unicoins. $\endgroup$