*When a formula using <math>...</math> is used in a section heading, the heading looks fine, as does the edit summary, but the entry in the table of contents may look seriously weird.
*Example: this edit: https://en.wikipedia.org/w/index.php?title=Wikipedia:Reference_desk/Mathematics&diff=1053566474&oldid=1053505892
*The wikitext of the section heading is: == <math>|3^x - 2^y| = 1</math> ==
*In the edit summary this is rendered as: |3^x - 2^y| = 1
**But the table of contents shows: '"UNIQ--postMath-00000043-QINU"'
What should have happened instead?:
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc: