gitlabhq/gitlabhq — pull request #1512 by tsigo (2012-09-20 00:27:05+00:00)
Title: Better escaping of text passed into GFM

This was fairly tricky to deal with since `gfm()` can't just escape the
text itself, since our custom Markdown parser converts Markdown to HTML
and _then_ passes it to GFM, so that would make it useless. We can't
escape all text returned by GFM because then references wouldn't work.

Closes #1444