replace \r\n with \n so that markdown_limited works