Correct markdown export errors