fix to formatting leaders when insert and del tags are present