# Small markdown parsing bug in comments

After I voted to close this question, the automatically generated comment

possible duplicate of Finding the limit of $n/\sqrt$n${n!}$

exhibited a small bug. Its source is

[Finding the limit of $n/\sqrt$n${n!}$](https://math.stackexchange.com/q/28476)


As you can see there or in my comment below, the markdown link isn't properly parsed. I assume that this is due to the square brackets inside the math environment. In an answer or question field that source works, but apparently not in comments.

Edit: Apparently this doesn't have much to do with the math environment, as Hendrik points out in his comment below.

• Here's the link again: Finding the limit of $n/\sqrt$n${n!}$ – t.b. Jul 28 '11 at 23:25
• This seems to be unrelated to TeX: This test comment [a $b$ c](http://math.stackexchange.com/) gives a [b] c. – Hendrik Vogt Jul 29 '11 at 6:08
• Right. Thanks! I didn't try much before posting this. I replaced the (tex) tag by the (markdown) tag. This seems more adequate. – t.b. Jul 29 '11 at 7:54

The escaped closing bracket \] wasn't handled correctly. This is fixed in the next build.
• Okay, this is fixed, thanks! I don't know if it is worth thinking about fixing that without escaped brackets, that is to try and parse things of the form [test [test]](http://math.stackexchange.com/q/28476) correctly. At the moment this gives [test [test]](math.stackexchange.com/q/28476). – t.b. Jul 29 '11 at 9:55
• FYI, I just reproduced this bug here. I replaced the $ and $ but to no avail. – Lord_Farin Oct 1 '13 at 10:21