fix markdown/discount