# In the preview, the number of dollar signs doubles every time a formula is used

On Chrome and Firefox under Ubuntu, I get the following strange behavior:

• I get something similar (with Firefox on Ubuntu), except the exponentially growing dollar signs don't appear on separate lines. Also, scrolling appears to prompt it to display a bunch of script $x$'s with large spaces in between. – Akhil Mathew Nov 14 '10 at 5:06
• @Akhil: Markdown will respect newlines if you have two spaces before the line break, which is what I did to generate this example. – Anton Geraschenko Nov 14 '10 at 5:11
• I'm seeing this on Firefox 3.6 under both Fedora and Windows. – user856 Nov 14 '10 at 6:53

Twas a bug on a compatibility patch (IE handles javascript regex a little differently than... any other browser [arguably more sanely, but still differently]) that caused the number of escaped $s to double for each identical $string\$ in a post (in anything other than IE).