Possible Duplicate:
Editing a comment containing formulae will mangle the formulae
(This question appears subjective and is likely to be closed :-))
Steps to reproduce:
- Find a post with not too many comments on it.
- Post a comment involving some math (e.g.
My $f(x)$ is bigger than your $g(y)$.
). - Reload the page.
- Click the edit link.
Expected behavior: you see and can edit the text My $f(x)$ is bigger than your $g(y)$.
Actual behavior: you see and can edit the text My f(x)f(x) is bigger than your g(y)g(y).
This bug doesn't seem to happen if you post your comment in a really long comment thread (i.e. if you need to fetch your comment from the server before editing). It also doesn't happen if you edit your comment before reloading the page.
(somebody please add a tag like [editing] to this question)