Fix broken formatting when rejustifying paragraph