See Sum of $n$ consecutive numbers divided by $n$ for an example.
The title of this question has the variable $n$ in italics. When rendering in the browser title bar it is displayed as \$n\$. I am using Chrome 12.0.742.112 on Mac.
I was thinking that perhaps the $ sign and those should be parsed and stripped out of the <title> tag.
Open question: is there any sane way to reduce to a "pure ASCII" version of LaTeX? Obviously stripping
$ is not even beginning to touch the surface of what would be needed.
I am leaning toward "that is a crazy idea to even entertain", so perhaps what you're suggesting is not possible?
The HTML and XHTML standards specify that the title elements must contain only text strings and not other elements. In particular, there can be no formatting or mark-up specifications. So @Carl's suggestion of "parsing and stripping" is explicitly forbidden in an HTML document.
(For example, emphasized text in HTML looks like
.... <em>emphasized</em> ... and it is explicitly disallowed to have the title element be
<title>something <em>emphasized</em> something else</title>. As the math formatting provided by MathJAX is through either CSS magic with fonts, or MathML, they are not allowed to be used in the title elements.)
Insofar as textual representations of mathematical strings go, I think leaving it as TeX style mark-up is perhaps most desirable. (Of course, one can always try to avoid using mathmode texts in the titles of questions.)