Rework removePinLi. Remove empty title tags.