markdown parsing was stripping newlines