Ok, found a nice article on xss and markdown: http://michelf.ca/blog/2010/markdown-and-xss/. Gonna apply this on the challenge descriptions as well.