ipython/ipython — pull request #6727 by takluyver (2014-10-17 17:21:58+00:00)
Title: Fix markdown to HTML conversion with inline maths

The mistune 'text' regex was capturing into math expressions in some cases. The fix was to modify it to stop at a $ sign, giving the inline math regex a chance to capture that.

Closes #6724