Sanitize Markdown code.