Better escaping of text passed into GFM

王权利请求将github/fork/rspeicher/escape_gfm合并到master

Created by: rspeicher

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 (closed)

合并请求报告