Added some markdown massaging so that newlines are respected