Apply spaceless around the footnote-list.html.twig template to avoid development.services.yml adding extra breaks
Closes #3421465