Fix for doube new lines in markdown parser