When displaying search results, long titles are truncated. That's fine with me, but if the closing
$ of a formula in the title is dropped, bad things happen:
The same happens when the excerpt starts or ends in the middle of a formula.
Ending truncated formulae with
\dots $ instead of
… should fix the issue.
I would agree that long formulae in titles are bad, but what can you do...