fix markdown escaping