Don’t work with Pages or on a Mac, but I did find this KB article.
To advise on the spacing issue, you would need to upload the actual .ens file so I could examine the footnote template itself, but it is likely to do with the positioning of the link adjacent spaces and separate | character positions (or lack there of) in the affected template for fields that are not used or filled.